permission
Grant permission
Grants a permission for a sub-account to access a resource owned by the main account.
post/1.3/permission/grant
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/permission/grant
- Auth: HTTP bearer
Query parameters
skip_target_checkboolean
If true, skips the check whether the target resource exists. Default is false.
Request body
Example request
{
"permission": {
"options": {
"storage": "yes"
},
"target_identifier": "00e1d79f-d2d8-40ca-a68d-812655b34766",
"target_type": "server",
"user": "test"
}
}Response
The granted permission.
Example response
{
"permission": {
"options": {
"storage": "yes"
},
"target_identifier": "00e1d79f-d2d8-40ca-a68d-812655b34766",
"target_type": "server",
"user": "test"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.