WorkOS

authorization.organization_memberships.role_assignments.by_organization_membership_id.delete

Remove a role assignment by role slug and resource.

Remote workos

Other tools also called authorization.organization_memberships.role_assignments.by_organization_membership_id.delete? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "role_slug": {
      "type": "string",
      "description": "The slug of the role to remove."
    },
    "resource_id": {
      "type": "string",
      "description": "The ID of the resource. Use either this or `resource_external_id` and `resource_type_slug`."
    },
    "resource_type_slug": {
      "type": "string",
      "description": "The resource type slug. Required with `resource_external_id`."
    },
    "resource_external_id": {
      "type": "string",
      "description": "The external ID of the resource. Requires `resource_type_slug`."
    },
    "organization_membership_id": {
      "type": "string",
      "description": "The ID of the organization membership."
    }
  }
}
          

Provider

WorkOS →