latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

workspaces

Adds support User into Workspace.

The attribute support_user_id should be defined for Contract or Tenant. If support user is not a member of corresponding Contract he/she will be added to this contract with owner role as well. You need workspace.workspace.edit_membership_support permission to access resource.

patch/workspaces/{workspace_id}/members/support

Path parameters

workspace_idstring required

Workspace identifier

Response

OK

metaobject required

Example response

{
  "data": {
    "id": "5b4f337bff4304610483ba67",
    "links": {
      "self": "/v2/members/5b4f337bff4304610483ba67"
    },
    "attributes": {
      "first_name": "John",
      "last_name": "Smith",
      "roles": [
        "owner"
      ],
      "email": "test@example.com"
    }
  }
}