Replace organization user members
Replace all user members for the specified organization with the given users. This effectively removing all existing user memberships in the organization and adding the new users as members.
Path parameters
-
The unique identifier of the organization.
PUT /api/organizations/{id}/users
curl \
-X PUT https://[tenant_id].logto.app/api/organizations/{id}/users \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"userIds":["string"]}'
Request examples
{
"userIds": [
"string"
]
}