Complete an access review.
curl --request POST \ --url https://auth.example.com/api/admin/compliance/access-reviews/example/complete \ --header 'Authorization: Bearer <token>'Applies the revocations (removing the role assignment or membership, or suspending the account, as the Admin API does and with the permission it requires: roles write for roles and memberships, users suspend for accounts; up to 100 per request, those not tried yet first) and completes the review once every item is decided and every revocation is applied. Each item is claimed while it is applied, so its decision cannot change and the review cannot be cancelled meanwhile. Failed revocations are retried by completing again. Undecided items: 409 access_review_undecided_items.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Access review id.
Responses
Section titled “ Responses ”What was applied, and whether the review completed.
object
Revocations still to apply (failed ones included); complete again to continue.
object
object
Example
{ "review": { "scope": "all_users", "status": "pending" }}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}The review is not open, or has undecided items.
Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}