latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

contracts

Update the specified invitation

You need have contracts.membership.edit permission or to be a user with TenantAdmin role to access this resource. To provide the workspase_id as an additional parameter user has to have permission workspaces.workspace.edit and belong to the provided workspace.

patch/contracts/{contract_id}/invites/{invite_id}

Path parameters

contract_idstring required

Contract identifier

invite_idstring required

Invitation identifier

Request body

InviteData required— unresolved $ref

Response

OK

metaobject required

Example response

{
  "data": {
    "attributes": {
      "email": "john.doe@gmail.com",
      "roles": [
        "admin"
      ],
      "workspace_id": "5b4f337bff4304610483ba67",
      "workspace_roles": [
        "integrator"
      ]
    }
  }
}