Update IAM Role
Body Required
-
description string
IAM Role description
Minimum length is
1
, maximum length is255
. -
permissions array[string]
IAM Role permissions
Value is
bypass-governance-retention
. -
labels object
Resource labels
PUT
/iam-role/{id}
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/iam-role/{id} \
-H "Content-Type: application/json" \
-d '{"description":"string","permissions":["bypass-governance-retention"],"labels":{"additionalProperty1":"string","additionalProperty2":"string"}}'
Request examples
{
"description": "string",
"permissions": [
"bypass-governance-retention"
],
"labels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}