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.
Path Parameters
Body
application/json
Body
UpdateUser
Data for updating user profile information
User’s first name
Example:Jane
User’s last name
Example:Smith
URL or path to the user’s profile image
Example:https://example.com/avatars/jane-smith.jpg
Response
200 application/json
Response
Successfully updated user profile
User
Complete user profile with authentication, authorization, and device information
Unique identifier for the user
Timestamp when the user account was created
Timestamp when the user account was last modified
Timestamp of the user’s last network connection
User’s email address used for authentication
Current status of the user account (active, inactive, pending, etc.)
User’s first name
User’s last name
Whether this user is the tenant owner
Maximum number of devices this user can register
URL or path to the user’s profile image
User role definition with specific permissions and capabilities
Show Child Parameters
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
Device information including connection status, user association, and security posture
Show Child Parameters
Authentication
Path Parameters
Body
{
"firstName": "Jane",
"lastName": "Smith",
"image": "https://example.com/avatars/jane-smith.jpg"
}curl --request PUT \
--url https://public-api.cipherscale.com/qa/tenants/users/ \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: ' \
--data '{
"firstName": "Jane",
"lastName": "Smith",
"image": "https://example.com/avatars/jane-smith.jpg"
}'{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"lastConnection": "lastConnection",
"email": "email",
"status": "status",
"firstName": "firstName",
"lastName": "lastName",
"isOwner": false,
"maxDevices": 0,
"image": "image",
"roles": [
{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"name": "name",
"description": "description",
"deleteable": false,
"type": "OWNER"
}
],
"groups": [
{
"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"
}
],
"devices": [
{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"name": "name",
"active": false,
"lastConnection": "lastConnection",
"status": "Online",
"user": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"lastConnection": "2023-01-15T14:30:00Z"
},
"hardwareId": "hardwareId",
"posture": {},
"appVersion": "appVersion"
}
]
}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.
Path Parameters
The unique identifier (UUID) of the user to delete
Response
Response
Successfully deleted the user
Authentication
Path Parameters
curl --request DELETE \
--url https://public-api.cipherscale.com/qa/tenants/users/ \
--header 'Content-Type: application/json' \
--header 'apikey: 'Successfully deleted the userDeactivate 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.
Path Parameters
Response
200 application/json
Response
Successfully deactivated user account
User
Complete user profile with authentication, authorization, and device information
Unique identifier for the user
Timestamp when the user account was created
Timestamp when the user account was last modified
Timestamp of the user’s last network connection
User’s email address used for authentication
Current status of the user account (active, inactive, pending, etc.)
User’s first name
User’s last name
Whether this user is the tenant owner
Maximum number of devices this user can register
URL or path to the user’s profile image
User role definition with specific permissions and capabilities
Show Child Parameters
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
Device information including connection status, user association, and security posture
Show Child Parameters
Authentication
Path Parameters
curl --request PATCH \
--url https://public-api.cipherscale.com/qa/tenants/users//deactivate \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: '{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"lastConnection": "lastConnection",
"email": "email",
"status": "status",
"firstName": "firstName",
"lastName": "lastName",
"isOwner": false,
"maxDevices": 0,
"image": "image",
"roles": [
{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"name": "name",
"description": "description",
"deleteable": false,
"type": "OWNER"
}
],
"groups": [
{
"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"
}
],
"devices": [
{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"name": "name",
"active": false,
"lastConnection": "lastConnection",
"status": "Online",
"user": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"lastConnection": "2023-01-15T14:30:00Z"
},
"hardwareId": "hardwareId",
"posture": {},
"appVersion": "appVersion"
}
]
}Reactivate User Account
Restores access for a previously deactivated user account. This operation re-enables all user permissions and allows them to reconnect their devices to the network.
Path Parameters
Response
201 application/json
Response
Successfully reactivated user account
User
Complete user profile with authentication, authorization, and device information
Unique identifier for the user
Timestamp when the user account was created
Timestamp when the user account was last modified
Timestamp of the user’s last network connection
User’s email address used for authentication
Current status of the user account (active, inactive, pending, etc.)
User’s first name
User’s last name
Whether this user is the tenant owner
Maximum number of devices this user can register
URL or path to the user’s profile image
User role definition with specific permissions and capabilities
Show Child Parameters
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
Device information including connection status, user association, and security posture
Show Child Parameters
Authentication
Path Parameters
curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/users//reactivate \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: '{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"lastConnection": "lastConnection",
"email": "email",
"status": "status",
"firstName": "firstName",
"lastName": "lastName",
"isOwner": false,
"maxDevices": 0,
"image": "image",
"roles": [
{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"name": "name",
"description": "description",
"deleteable": false,
"type": "OWNER"
}
],
"groups": [
{
"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"
}
],
"devices": [
{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"name": "name",
"active": false,
"lastConnection": "lastConnection",
"status": "Online",
"user": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"lastConnection": "2023-01-15T14:30:00Z"
},
"hardwareId": "hardwareId",
"posture": {},
"appVersion": "appVersion"
}
]
}Resend User Invitation
Sends a new invitation email to a user with a pending invitation. This is useful when the original invitation email was not received, expired, or was accidentally deleted. Only users with pending invitation status can be reinvited.
Path Parameters
The unique identifier (UUID) of the user to reinvite
Response
Response
Successfully sent invitation email to the user
Authentication
Path Parameters
curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/users//invite \
--header 'Content-Type: application/json' \
--header 'apikey: 'Successfully sent invitation email to the user