Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
object-storage
/
users
/
{dataCenterId}
Create an object storage user
curl --request POST \
  --url https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/users/{dataCenterId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "keys": [
    {
      "accessKey": "<string>",
      "secretKey": "<string>"
    }
  ]
}'
{
  "createBy": "<string>",
  "createTime": "2023-11-07T05:31:56Z",
  "dataCenterId": "<string>",
  "id": "<string>",
  "keys": [
    {
      "accessKey": "<string>",
      "secretKey": "<string>"
    }
  ],
  "projectId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

projectId
string
required
dataCenterId
string
required

Body

application/json

Create object storage user params

id
string
required
keys
object[]

Response

A successful response.

dataCenterId
string
required
id
string
required
projectId
string
required
createBy
string
createTime
string<date-time>
keys
object[]