Revoke access to companies

Revokes user access to companies.

POST users/:id/companies/revoke

Request properties

Property Type Length Description Optional
CompanyIds Array of Guid - Array of company Id's to revoke user access. No

Example request

    companyIds: [


Upon successful operation a 200 status code will be returned, otherwise an error message with failure details.

Possible error responses

Status code Error code Details
400 invalid_request_payload One or more properties were not valid
400 invalid_request_payload This user is still assigned to one or more documents for authorisation.
400 invalid_request_payload This user is still selected in one or more authorisation flows.
403 forbidden user has no rights to access the resource