WorkOS

authorization.organizations.resources.delete

Delete an authorization resource by organization, resource type, and external ID. This also deletes all descendant resources.

Remote workos

Other tools also called authorization.organizations.resources.delete? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "external_id": {
      "type": "string",
      "description": "An identifier you provide to reference the resource in your system."
    },
    "cascade_delete": {
      "type": "boolean",
      "default": false,
      "description": "If true, deletes all descendant resources and role assignments. If not set and the resource has children or assignments, the request will fail."
    },
    "organization_id": {
      "type": "string",
      "description": "The ID of the organization that owns the resource."
    },
    "resource_type_slug": {
      "type": "string",
      "description": "The slug of the resource type."
    }
  }
}
          

Provider

WorkOS →