Users

User management operations

List users

get

Lists users

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Query parameters
domain_idstringOptional

Filter by domain ID

enabledbooleanOptional

Filter by enabled status

namestringOptional

Filter by user name

password_expires_atstringOptional

Filter by password expiration

unique_namestringOptional

Filter by unique name

limitinteger · min: 1Optional

Requests a page size of items

markerstringOptional

The ID of the last-seen item for pagination

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

Users listed successfully

application/json
get
/users
GET /v3/users HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
  "users": [
    {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "domain_id": "text",
      "domain": {
        "id": "text",
        "name": "text",
        "description": "text",
        "enabled": true,
        "links": {
          "self": "text",
          "previous": "text",
          "next": "text"
        },
        "options": {}
      },
      "default_project_id": "text",
      "email": "text",
      "password_expires_at": "2025-11-28T20:27:11.676Z",
      "options": {},
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      }
    }
  ],
  "links": {
    "self": "text",
    "previous": "text",
    "next": "text"
  }
}

Create user

post

Creates a user

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
post
/users
POST /v3/users HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Content-Type: application/json
Accept: */*
Content-Length: 153

{
  "user": {
    "name": "text",
    "description": "text",
    "enabled": true,
    "domain_id": "text",
    "default_project_id": "text",
    "email": "text",
    "password": "text",
    "options": {}
  }
}
{
  "user": {
    "id": "text",
    "name": "text",
    "description": "text",
    "enabled": true,
    "domain_id": "text",
    "domain": {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      },
      "options": {}
    },
    "default_project_id": "text",
    "email": "text",
    "password_expires_at": "2025-11-28T20:27:11.676Z",
    "options": {},
    "links": {
      "self": "text",
      "previous": "text",
      "next": "text"
    }
  }
}

Show user details

get

Shows details for a user

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
user_idstringRequired

The user ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

User details retrieved successfully

application/json
get
/users/{user_id}
GET /v3/users/{user_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
  "user": {
    "id": "text",
    "name": "text",
    "description": "text",
    "enabled": true,
    "domain_id": "text",
    "domain": {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      },
      "options": {}
    },
    "default_project_id": "text",
    "email": "text",
    "password_expires_at": "2025-11-28T20:27:11.676Z",
    "options": {},
    "links": {
      "self": "text",
      "previous": "text",
      "next": "text"
    }
  }
}

Delete user

delete

Deletes a user

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
user_idstringRequired

The user ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
delete
/users/{user_id}
DELETE /v3/users/{user_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Update user

patch

Updates a user

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
user_idstringRequired

The user ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
200

User updated successfully

application/json
patch
/users/{user_id}
PATCH /v3/users/{user_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Content-Type: application/json
Accept: */*
Content-Length: 153

{
  "user": {
    "name": "text",
    "description": "text",
    "enabled": true,
    "domain_id": "text",
    "default_project_id": "text",
    "email": "text",
    "password": "text",
    "options": {}
  }
}
{
  "user": {
    "id": "text",
    "name": "text",
    "description": "text",
    "enabled": true,
    "domain_id": "text",
    "domain": {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      },
      "options": {}
    },
    "default_project_id": "text",
    "email": "text",
    "password_expires_at": "2025-11-28T20:27:11.676Z",
    "options": {},
    "links": {
      "self": "text",
      "previous": "text",
      "next": "text"
    }
  }
}

List user groups

get

Lists groups to which a user belongs

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
user_idstringRequired

The user ID

Query parameters
limitinteger · min: 1Optional

Requests a page size of items

markerstringOptional

The ID of the last-seen item for pagination

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

User groups listed successfully

application/json
get
/users/{user_id}/groups
GET /v3/users/{user_id}/groups HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
  "groups": [
    {
      "id": "text",
      "name": "text",
      "description": "text",
      "domain_id": "text",
      "domain": {
        "id": "text",
        "name": "text",
        "description": "text",
        "enabled": true,
        "links": {
          "self": "text",
          "previous": "text",
          "next": "text"
        },
        "options": {}
      },
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      }
    }
  ],
  "links": {
    "self": "text",
    "previous": "text",
    "next": "text"
  }
}

List user projects

get

Lists projects for a user

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
user_idstringRequired

The user ID

Query parameters
limitinteger · min: 1Optional

Requests a page size of items

markerstringOptional

The ID of the last-seen item for pagination

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

User projects listed successfully

application/json
get
/users/{user_id}/projects
GET /v3/users/{user_id}/projects HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
  "projects": [
    {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "domain_id": "text",
      "domain": {
        "id": "text",
        "name": "text",
        "description": "text",
        "enabled": true,
        "links": {
          "self": "text",
          "previous": "text",
          "next": "text"
        },
        "options": {}
      },
      "parent_id": "text",
      "is_domain": true,
      "tags": [
        "text"
      ],
      "options": {},
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      }
    }
  ],
  "links": {
    "self": "text",
    "previous": "text",
    "next": "text"
  }
}

Change user password

post

Changes the password for a user

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
user_idstringRequired

The user ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
post
/users/{user_id}/password
POST /v3/users/{user_id}/password HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Content-Type: application/json
Accept: */*
Content-Length: 55

{
  "user": {
    "password": "text",
    "original_password": "text"
  }
}

No content

Last updated

Was this helpful?