Skip to content

Create or update a role

PUT
/resources/iam/roles/{roleKey}

System roles can not be updated.

Parameters

Path Parameters

roleKey*
Type
string
Required

Request Body

JSON
{
  
"description": "string",
  
"acl": {
  
  
"entries": [
  
  
  
{
  
  
  
  
"attributeKeys": [
  
  
  
  
  
"string"
  
  
  
  
],
  
  
  
  
"resource": [
  
  
  
  
  
"string"
  
  
  
  
],
  
  
  
  
"permission": [
  
  
  
  
  
"string"
  
  
  
  
]
  
  
  
}
  
  
]
  
},
  
"etag": "string"
}

Responses

OK

Samples

© 2024 Hantera AB. All rights reserved.