object-storage-2

Create user permissions boundary

Creates a user's permissions boundary by the given {service_uuid}, and {username}.

put/1.3/object-storage-2/{service-uuid}/users/{username}/permissions-boundary

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/users/{username}/permissions-boundary
  • 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

policy_namestring required

Name of the policy to use as the permissions boundary.

Example request

{
  "policy_name": "sample-policy"
}

Response

OK

string required

Schema representing a permissions boundary response.

Example response

"sample-policy"

Changes

No recorded changes to this operation across all 1 revision of this API.