Replace organization user members
PUT
/api/organizations/{id}/users
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
-
id string Required
The unique identifier of the organization.
PUT /api/organizations/{id}/users
curl \
-X PUT https://[tenant_id].logto.app/api/organizations/{id}/users \
-H "Content-Type: application/json" \
-d '{"userIds":["string"]}'
Request example
{
"userIds": [
"string"
]
}