Skip to main content
DELETE
/
v1
/
orgs
/
{orgId}
/
roles
/
{roleId}
Delete organization role
curl --request DELETE \
  --url https://api.openworklabs.com/v1/orgs/{orgId}/roles/{roleId}
{
  "error": "<string>",
  "details": [
    {
      "message": "<string>",
      "path": [
        "<string>"
      ]
    }
  ]
}

Path Parameters

orgId
string<typeid>
required

Den TypeID with 'org_' prefix and a 26-character base32 suffix.

Required string length: 30
Pattern: ^org_.*
roleId
string<typeid>
required

Den TypeID with 'orl_' prefix and a 26-character base32 suffix.

Required string length: 30
Pattern: ^orl_.*

Response

Organization role deleted successfully.