User

IAM users map to humans empowered with access to Exoscale resources.

Read more

create-user

Create a User

POST /user

null

Request body

Content-Type: application/json

PropertyTypeRequiredDescription
emailstringyesUser Email
roleobjectnoIAM Role schema details
Example
{
  "email": "string",
  "role": {
    "description": "string",
    "editable": true,
    "id": "string",
    "labels": {},
    "name": "string",
    "permissions": [
      "bypass-governance-retention"
    ],
    "policy": {
      "default-service-strategy": "allow",
      "services": {}
    }
  }
}

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
idstringOperation ID
messagestringOperation message
reasonstringOperation failure reason

Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict.
referenceobjectRelated resource reference schema details
statestringOperation status

Allowed values: failure, pending, success, timeout.
Example output
{
  "id": "string",
  "message": "string",
  "reason": "incorrect",
  "reference": {
    "command": "string",
    "id": "string",
    "link": "string"
  },
  "state": "failure"
}

SDK reference for create-user: golang | Python | Java

CLI: exo api create-user

delete-user

Delete User

DELETE /user/{id}

null

Path parameters

NameInDescription
idpath

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
idstringOperation ID
messagestringOperation message
reasonstringOperation failure reason

Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict.
referenceobjectRelated resource reference schema details
statestringOperation status

Allowed values: failure, pending, success, timeout.
Example output
{
  "id": "string",
  "message": "string",
  "reason": "incorrect",
  "reference": {
    "command": "string",
    "id": "string",
    "link": "string"
  },
  "state": "failure"
}

SDK reference for delete-user: golang | Python | Java

CLI: exo api delete-user


Other Operations

update-user-role

Update a User’s IAM role

PUT /user/{id}

null

Path parameters

NameInDescription
idpath

Request body

Content-Type: application/json

PropertyTypeRequiredDescription
roleobjectnoIAM Role schema details
Example
{
  "role": {
    "description": "string",
    "editable": true,
    "id": "string",
    "labels": {},
    "name": "string",
    "permissions": [
      "bypass-governance-retention"
    ],
    "policy": {
      "default-service-strategy": "allow",
      "services": {}
    }
  }
}

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
idstringOperation ID
messagestringOperation message
reasonstringOperation failure reason

Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict.
referenceobjectRelated resource reference schema details
statestringOperation status

Allowed values: failure, pending, success, timeout.
Example output
{
  "id": "string",
  "message": "string",
  "reason": "incorrect",
  "reference": {
    "command": "string",
    "id": "string",
    "link": "string"
  },
  "state": "failure"
}

SDK reference for update-user-role: golang | Python | Java

CLI: exo api update-user-role

list-users

List Users

GET /user

null

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
usersarray[object]schema details
Example output
{
  "users": [
    {
      "email": "string",
      "id": "string",
      "pending": true,
      "role": {
        "description": "string",
        "editable": true,
        "id": "string",
        "labels": {},
        "name": "string",
        "permissions": [
          "bypass-governance-retention"
        ],
        "policy": {
          "default-service-strategy": "allow",
          "services": {}
        }
      },
      "sso": true,
      "two-factor-authentication": true
    }
  ]
}

SDK reference for list-users: golang | Python | Java

CLI: exo api list-users

Last updated on