Users
5 operations in the Adverity Connect API. Replace {{INSTANCE}} and {{KEY}} in the examples with your instance and API key. How authentication works.
List Users
GET/api/v1/users/
API key permissionUser: Read-onlyuser:read
Query parameters
pageintegerDefault
1· Min1page_sizeintegerDefault
50· Min1
Responses
200OKapplication/json
Response schema
object PagedUserResponseSchema
itemsarray of objectrequiredItems · UserResponseSchema
idstring · uuidrequiredgroupsarray of stringrequiredworkspacesarray of string · uuidrequiredworkspace_namesarray of stringrequiredactivebooleanrequiredcreatedstring · date-timerequiredlast_loginstring · date-timenullableAttributes
string · date-time
null
last_modifiedstring · date-timenullableTimestamp of the most recent edit recorded in the Django admin audit log. Covers modifications made through the admin UI (the primary admin user-management surface). Does not reflect API-driven (
PATCH /api/v1/users/{id}/), SSO/auto-provisioned, or self-service profile edits. Null if the user has never been edited in admin.Attributes
string · date-time
null
emailstringrequiredMax length
254first_namestringnullableAttributes
string
null
last_namestringnullableAttributes
string
null
countintegerrequired
Create User
POST/api/v1/users/
API key permissionUser: Writeuser:write
Request bodyrequired
application/json
Body schema
object UserCreateSchema
emailstring · emailrequiredfirst_namestringnullableAttributes
string
null
last_namestringnullableAttributes
string
null
groupsarray of stringDefault
[]workspacesarray of string · uuidDefault
[]activebooleannullableDefault
trueAttributes
boolean
null
Responses
201Createdapplication/json
Response schema
object UserResponseSchema
idstring · uuidrequiredgroupsarray of stringrequiredworkspacesarray of string · uuidrequiredworkspace_namesarray of stringrequiredactivebooleanrequiredcreatedstring · date-timerequiredlast_loginstring · date-timenullableAttributes
string · date-time
null
last_modifiedstring · date-timenullableTimestamp of the most recent edit recorded in the Django admin audit log. Covers modifications made through the admin UI (the primary admin user-management surface). Does not reflect API-driven (
PATCH /api/v1/users/{id}/), SSO/auto-provisioned, or self-service profile edits. Null if the user has never been edited in admin.Attributes
string · date-time
null
emailstringrequiredMax length
254first_namestringnullableAttributes
string
null
last_namestringnullableAttributes
string
null
Get User
GET/api/v1/users/{user_id}/
API key permissionUser: Read-onlyuser:read
Path parameters
user_idstring · uuidrequired
Responses
200OKapplication/json
Response schema
object UserResponseSchema
idstring · uuidrequiredgroupsarray of stringrequiredworkspacesarray of string · uuidrequiredworkspace_namesarray of stringrequiredactivebooleanrequiredcreatedstring · date-timerequiredlast_loginstring · date-timenullableAttributes
string · date-time
null
last_modifiedstring · date-timenullableTimestamp of the most recent edit recorded in the Django admin audit log. Covers modifications made through the admin UI (the primary admin user-management surface). Does not reflect API-driven (
PATCH /api/v1/users/{id}/), SSO/auto-provisioned, or self-service profile edits. Null if the user has never been edited in admin.Attributes
string · date-time
null
emailstringrequiredMax length
254first_namestringnullableAttributes
string
null
last_namestringnullableAttributes
string
null
Update User
PATCH/api/v1/users/{user_id}/
API key permissionUser: Writeuser:write
Path parameters
user_idstring · uuidrequired
Request bodyrequired
application/json
Body schema
object UserUpdateSchema
emailstring · emailnullableAttributes
string · email
null
first_namestringnullableAttributes
string
null
last_namestringnullableAttributes
string
null
groupsarray of stringDefault
[]workspacesarray of string · uuidDefault
[]activebooleannullableAttributes
boolean
null
Responses
200OKapplication/json
Response schema
object UserResponseSchema
idstring · uuidrequiredgroupsarray of stringrequiredworkspacesarray of string · uuidrequiredworkspace_namesarray of stringrequiredactivebooleanrequiredcreatedstring · date-timerequiredlast_loginstring · date-timenullableAttributes
string · date-time
null
last_modifiedstring · date-timenullableTimestamp of the most recent edit recorded in the Django admin audit log. Covers modifications made through the admin UI (the primary admin user-management surface). Does not reflect API-driven (
PATCH /api/v1/users/{id}/), SSO/auto-provisioned, or self-service profile edits. Null if the user has never been edited in admin.Attributes
string · date-time
null
emailstringrequiredMax length
254first_namestringnullableAttributes
string
null
last_namestringnullableAttributes
string
null
Delete User
DELETE/api/v1/users/{user_id}/
API key permissionUser: Writeuser:write
Path parameters
user_idstring · uuidrequired
Responses
200OK