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