Remove a person from the organization
DELETE /api/organizations/people/{orgUserId}. Remove a person from the organization. Headless LMS People API reference.
Requires people:delete. Needs every permission the person holds, where they hold it. Revokes their API keys and connected apps here. The owner can't be removed (409); neither can someone whose posts must be kept (409).
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/organizations/people/string"null{ "error": "string", "message": "string", "requestId": "string", "issues": [ { "path": "string", "message": "string" } ]}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}The people with a role on a content item GET
GET /api/organizations/content/{contentId}/roles. The people with a role on a content item. Headless LMS People API reference.
Invite a person with an org role POST
POST /api/organizations/invites. Invite a person with an org role. Headless LMS People API reference.