Creates a membership between a tenant and an user.

Method

PUT /tenant/{id}/user-members/{userId}

Parameters

Path Parameters

Name Description
id The id of the tenant.
userId The id of the user.

Result

This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
403 application/json Identity service is read-only.
500 application/json In case an internal error occurs. See the Introduction for the error response format.

Example

Request

PUT /tenant/tenantOne/user-members/jonny1

Response

Status 204. No content.

原文: https://docs.camunda.org/manual/7.9/reference/rest/tenant/user-members/put/