object-storage-2
Create group inline policy
Creates a group inline policy by the given {service_uuid}, and {group_name}.
post/1.3/object-storage-2/{service-uuid}/groups/{group-name}/inline-policies
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/groups/{group-name}/inline-policies
- Auth: HTTP bearer
Path parameters
service-uuidstring uuid required
The unique identifier for the service.
Example:01234567-89ab-cdef-0123-456789abcdef
Service UUID
group-namestring required
A resource name.
Example:my-object-storage
The name of the group.
Request body
Example request
{
"name": "ECSS3FullAccess",
"document": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Resource\":\"*\"}]}"
}Response
Created
Example response
{
"name": "ECSS3FullAccess",
"document": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Resource\":\"*\"}]}"
}Changes
No recorded changes to this operation across all 1 revision of this API.