Search
K
Cipherscale API

Users

User account management and authentication

Get User Details

Retrieves comprehensive details of a specific user including their profile information, assigned roles, group memberships, associated devices, and connection status. This endpoint is essential for user management and access control operations.

get
https://public-api.cipherscale.com/qa/tenants/users/{id}

Path Parameters

idstring(uuid)required

The unique identifier (UUID) of the user

Example:123e4567-e89b-12d3-a456-426614174000

Response

application/json

Successfully retrieved the user

User

Complete user profile with authentication, authorization, and device information

idstring(uuid)required

Unique identifier for the user

createdAtstring(date-time)required

Timestamp when the user account was created

updatedAtstring(date-time)required

Timestamp when the user account was last modified

lastConnectionstring(date-time)

Timestamp of the user’s last network connection

emailstring

User’s email address used for authentication

statusstringrequired

Current status of the user account (active, inactive, pending, etc.)

firstNamestring

User’s first name

lastNamestring

User’s last name

isOwnerbooleanrequired

Whether this user is the tenant owner

maxDevicesnumber | nullrequired

Maximum number of devices this user can register

imagestring

URL or path to the user’s profile image

rolesarray[object]required

User role definition with specific permissions and capabilities

Show Child Parameters
groupsarray[object]required

User group information with role assignments and member management

Example:{"id":"550e8400-e29b-41d4-a716-446655440000","name":"Engineering Team","description":"Software engineering team with access to development resources","createdAt":"2023-01-15T10:30:00Z","updatedAt":"2023-01-15T10:30:00Z"}

Show Child Parameters
devicesarray[object]required

Device information including connection status, user association, and security posture

Show Child Parameters
get/tenants/users/{id}
 
application/json

Update User Profile

Updates user profile information including first name, last name, and profile image. This operation allows administrators to maintain accurate user records and personalization settings.

put
https://public-api.cipherscale.com/qa/tenants/users/{id}

Path Parameters

idstringrequired

Body

application/json

UpdateUser

Data for updating user profile information

firstNamestring

User’s first name

Example:Jane

lastNamestring

User’s last name

Example:Smith

imagestring

URL or path to the user’s profile image

Example:https://example.com/avatars/jane-smith.jpg

Response

200 application/json

Successfully updated user profile

User

Complete user profile with authentication, authorization, and device information

idstring(uuid)required

Unique identifier for the user

createdAtstring(date-time)required

Timestamp when the user account was created

updatedAtstring(date-time)required

Timestamp when the user account was last modified

lastConnectionstring(date-time)

Timestamp of the user’s last network connection

emailstring

User’s email address used for authentication

statusstringrequired

Current status of the user account (active, inactive, pending, etc.)

firstNamestring

User’s first name

lastNamestring

User’s last name

isOwnerbooleanrequired

Whether this user is the tenant owner

maxDevicesnumber | nullrequired

Maximum number of devices this user can register

imagestring

URL or path to the user’s profile image

rolesarray[object]required

User role definition with specific permissions and capabilities

Show Child Parameters
groupsarray[object]required

User group information with role assignments and member management

Example:{"id":"550e8400-e29b-41d4-a716-446655440000","name":"Engineering Team","description":"Software engineering team with access to development resources","createdAt":"2023-01-15T10:30:00Z","updatedAt":"2023-01-15T10:30:00Z"}

Show Child Parameters
devicesarray[object]required

Device information including connection status, user association, and security posture

Show Child Parameters
put/tenants/users/{id}

Body

{ "firstName": "Jane", "lastName": "Smith", "image": "https://example.com/avatars/jane-smith.jpg" }
 
200 application/json

Delete User Account

Permanently removes a user account from the tenant. This operation will also deactivate all associated devices and revoke all access permissions. This action cannot be undone.

delete
https://public-api.cipherscale.com/qa/tenants/users/{id}

Path Parameters

idstring(uuid)required

The unique identifier (UUID) of the user to delete

Response

Successfully deleted the user

delete/tenants/users/{id}
 

Deactivate User Account

Temporarily disables a user account, preventing them from accessing the network while preserving their data and settings. Deactivated users can be reactivated later. This is useful for temporary suspensions or maintenance.

patch
https://public-api.cipherscale.com/qa/tenants/users/{id}/deactivate

Path Parameters

idstringrequired

Response

200 application/json

Successfully deactivated user account

User

Complete user profile with authentication, authorization, and device information

idstring(uuid)required

Unique identifier for the user

createdAtstring(date-time)required

Timestamp when the user account was created

updatedAtstring(date-time)required

Timestamp when the user account was last modified

lastConnectionstring(date-time)

Timestamp of the user’s last network connection

emailstring

User’s email address used for authentication

statusstringrequired

Current status of the user account (active, inactive, pending, etc.)

firstNamestring

User’s first name

lastNamestring

User’s last name

isOwnerbooleanrequired

Whether this user is the tenant owner

maxDevicesnumber | nullrequired

Maximum number of devices this user can register

imagestring

URL or path to the user’s profile image

rolesarray[object]required

User role definition with specific permissions and capabilities

Show Child Parameters
groupsarray[object]required

User group information with role assignments and member management

Example:{"id":"550e8400-e29b-41d4-a716-446655440000","name":"Engineering Team","description":"Software engineering team with access to development resources","createdAt":"2023-01-15T10:30:00Z","updatedAt":"2023-01-15T10:30:00Z"}

Show Child Parameters
devicesarray[object]required

Device information including connection status, user association, and security posture

Show Child Parameters
patch/tenants/users/{id}/deactivate
 
200 application/json