Create Group Member

Adds a member to a group.

Method

PUT /group/{id}/members/{userId}

Parameters

Path Parameters

Name Description
id The id of the group.
userId The id of user to add to the group.

Result

This method returns no content.

Response Codes

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

Example

Request

PUT /group/sales/members/jonny1

Response

Status 204. No content.

目录: