Okta Privileged Access
//
Update a workload role
OPA roles:
- security_admin
Updates a workload role by its ID
Security
bearerAuth
Defines the identity attribute requirements that a workload must satisfy to be authorized for this role
PUT
curl -i -X PUT \
'https://{org_name}.pam.okta.com/v1/teams/{team_name}/workload-roles/a747a818-a4c4-4446-8a87-704216495a08' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"created_by": {
"id": "string",
"missing": true
},
"description": "string",
"name": "string",
"requirements": [
{
"conditions": [
{
"matcher": "EQUALS",
"name": "string",
"value": "string"
}
],
"workload_connection": {
"id": "string",
"missing": true
}
}
],
"updated_by": {
"id": "string",
"missing": true
}
}'OK
The ID of the workload role
Example:"a747a818-a4c4-4446-8a87-704216495a08"
Defines the identity attribute requirements that a workload must satisfy to be authorized for this role
Timestamp that indicates when the workload role was last updated
Response
{ "created_at": "2019-08-24T14:15:22Z", "created_by": { "id": "string", "missing": true, "name": "string", "type": "active_directory_connection" }, "description": "string", "id": "a747a818-a4c4-4446-8a87-704216495a08", "name": "string", "requirements": [ { … } ], "updated_at": "2019-08-24T14:15:22Z", "updated_by": { "id": "string", "missing": true, "name": "string", "type": "active_directory_connection" } }