# POST /cc/api/role/revoke

**URL:** <https://developer.sailpoint.com/discuss/t/post-cc-api-role-revoke/29979>\
**Category:** Non-Public API Deprecations\
**Tags:** deprecated\
**Created:** [February 10, 2024, 12:31am UTC](https://developer.sailpoint.com/discuss/t/post-cc-api-role-revoke/29979 "2024-02-10T00:31:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [February 10, 2024, 12:31am UTC](https://developer.sailpoint.com/discuss/t/post-cc-api-role-revoke/29979/1 "2024-02-10T00:31:07Z")

</div>

Replaced by

> **[create-access-request | SailPoint Developer Community](https://developer.sailpoint.com/idn/api/v3/create-access-request)**
>
> Submit an Access Request

Specifically, to revoke a role through an access request, you will use the following JSON payload. Please see the above documentation for more configuration options.

```json
{
  "requestedFor": [
    "2c918084660f45d6016617daa9210584"
  ],
  "requestType": "REVOKE_ACCESS",
  "requestedItems": [
    {
      "type": "ROLE",
      "id": "2c9180835d2e5168015d32f890ca1581",
      "comment": "User has left the company"
    }
  ]
}

```
