Herald
OpenapiExt

Remove an organization member

Removal takes effect immediately on the check path (explicit cache invalidation). The owner and the last admin-tier member are protected (409); transfer ownership or grant another admin first.

DELETE
/api/ext/realms/{realmId}/orgs/{orgId}/members/{userId}

Removal takes effect immediately on the check path (explicit cache invalidation). The owner and the last admin-tier member are protected (409); transfer ownership or grant another admin first.

Authorization

api_key
headerX-API-Key<token>

Client-app API key (third-party external API).

Path Parameters

realmId*string

Realm ID

orgId*string

Organization ID

userId*string

Member account ID

Query Parameters

actorUserId?string

User the app acts on behalf of

Response Body

Member removed

Example Request
curl -X DELETE 'https://example.com/api/ext/realms/string/orgs/string/members/string'
Example Response
Empty