v4

latestOpenAPI 3.1.02026-08-02261331761.5 KB
Implicit Grants

Delete Implicit Grant

Deletes an implicit grant on a given role

delete/v2/schema/{proj_id}/{env_id}/resources/{resource_id}/roles/{role_id}/implicit_grants

Path parameters

role_idstring required

Either the unique id of the role, or the URL-friendly key of the role (i.e: the "slug").

Either the unique id of the role, or the URL-friendly key of the role (i.e: the "slug").

resource_idstring required

Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the "slug").

Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the "slug").

proj_idstring required

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

env_idstring required

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Request body

rolestring required

the role key that needs to exist on the related resource (from the relation)

on_resourcestring required

the resource key that needs to exist on the related role (from the relation)

linked_by_relationstring required

the relation key that needs to exist between the resource and the related resource

Example request

{
  "role": "Admin",
  "on_resource": "organization",
  "linked_by_relation": "owner"
}

Response

Successful Response