permission
Replace permissions
Replaces the entire set of permissions for sub-accounts to access resources owned by the main account.
put/1.3/permission
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/permission
- Auth: HTTP bearer
Request body
Example request
{
"permission": {
"options": {
"storage": "yes"
},
"target_identifier": "00e1d79f-d2d8-40ca-a68d-812655b34766",
"target_type": "server",
"user": "test"
}
}Response
The updated list of permissions.
Example response
{
"permissions": {
"permission": [
{
"user": "subaccount1",
"target_type": "server",
"target_identifier": "00e1d79f-d2d8-40ca-a68d-812655b34766",
"options": {
"storage": "yes"
}
},
{
"user": "subaccount2",
"target_type": "storage",
"target_identifier": "01f6d5e3-c3b2-41ba-912a-723ab2c12345"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.