Organizations

DeleteRole

Deletes a custom role from an organization. If the role is currently assigned to members or teams, deletion requires the force parameter. Deleting a role revokes the permissions it granted to any assigned members or teams.

delete/api/orgs/{orgName}/roles/{roleID}

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/roles/{roleID}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

roleIDstring required

The role identifier

Query parameters

forceboolean

Force deletion even if the role is currently assigned to members or teams

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.