Skip to content

Delete a workload role

Request

OPA roles:
  • security_admin

Deletes a workload role by its ID

Security
bearerAuth
Path
team_namestringrequired

The name of your team

workload_role_idstring, (regex)(UUID)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...read-onlyrequired

The ID of the workload role

Example:a747a818-a4c4-4446-8a87-704216495a08
curl -i -X DELETE \
  'https://{org_name}.pam.okta.com/v1/teams/{team_name}/workload-roles/a747a818-a4c4-4446-8a87-704216495a08' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

No Content

Response
No content