object-storage-2

Create user

Creates a new service user by given {service_uuid}.

post/1.3/object-storage-2/{service-uuid}/users

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/users
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier for the service.

Example:01234567-89ab-cdef-0123-456789abcdef

Service UUID

Request body

usernamestring required

The name of the user to create.

Example request

{
  "username": "example_user"
}

Response

Created

usernamestring
arnstring
created_atstring date-time
permissions_boundarystring

Schema representing a permissions boundary response.

Example response

{
  "access_keys": [
    {
      "access_key_id": "AKIA63F41D01345BB477",
      "created_at": "2023-05-07T20:52:19.705405Z",
      "last_used_at": "2023-05-07T20:52:17Z",
      "status": "Active"
    }
  ],
  "arn": "urn:ecs:iam::123bbb5c6a4240409e07f7d89fe28891:user/example_user",
  "created_at": "2023-05-07T15:55:24.655776Z",
  "policies": [
    {
      "arn": "urn:ecs:iam:::policy/ECSS3FullAccess",
      "name": "ECSS3FullAccess"
    },
    {
      "arn": "urn:ecs:iam:::policy/IAMFullAccess",
      "name": "IAMFullAccess"
    }
  ],
  "username": "example_user"
}

Changes

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