object-storage-2
Attach Policy To Role
Attaches a policy to a service's IAM role.
post/1.3/object-storage-2/{service-uuid}/roles/{role-name}/policies
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/roles/{role-name}/policies
- Auth: HTTP bearer
Path parameters
service-uuidstring uuid required
The unique identifier for the service.
Example:01234567-89ab-cdef-0123-456789abcdef
Service UUID
role-namestring required
A resource name.
Example:my-object-storage
The name of the role.
Request body
Example request
{
"name": "test-policy"
}Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.