Users

get
Authorizations
AuthorizationstringRequired

API Token based authentication. Use format: Token token="your-api-key"

Path parameters
idintegerRequired
Query parameters
idintegerRequired

Catalog user id

Responses
200

Getting a specific user

application/json
get
/api/v1/users/{id}
200

Getting a specific user

put
Authorizations
AuthorizationstringRequired

API Token based authentication. Use format: Token token="your-api-key"

Path parameters
idintegerRequired
Body
idintegerRequired

Catalog user id

clear_merged_into_user_idstringOptional

It will clear merged_into_user_id field of user if set to true

custom_fieldsstringOptional

An object containing custom field values, e.g. { "phone": "867-5309" }. Custom field values must be strings or nulls, anything else will result in a 400 response. If Catalog already has a value for a given key, it will be overwritten, or if the new value is null, it will be deleted. If Catalog does not already have a value for a given key, it will be added. UDFs that are not included in the request will remain unchanged.

Responses
200

Updating a specific user

application/json
put
/api/v1/users/{id}
200

Updating a specific user

delete
Authorizations
AuthorizationstringRequired

API Token based authentication. Use format: Token token="your-api-key"

Path parameters
idintegerRequired
Body
idintegerRequired

Catalog user id

only_orders_and_enrollmentsstringOptional

Delete only orders and enrollments (user dependencies) except user and related account admins OR delete user dependencies including user and related account admins

Responses
200

Deleting a specific user with dependencies

application/json
Responseobject
delete
/api/v1/users/{id}
200

Deleting a specific user with dependencies

get
Authorizations
AuthorizationstringRequired

API Token based authentication. Use format: Token token="your-api-key"

Query parameters
registered_in_catalogbooleanOptional

If true, only queries users registered through Catalog. If false, only queries users registered through Canvas. If not specified, queries all users.

canvas_user_idintegerOptional

Canvas user id

created_at_fromstringOptional

Created at from. Suggested format YYYY-MM-DDTHH:MM:SSZ, e.g. 2018-01-01T00:00:00Z. System time zone is UTC.

created_at_tostringOptional

Created at to. Suggested format YYYY-MM-DDTHH:MM:SSZ, e.g. 2018-01-01T00:00:00Z. System time zone is UTC.

updated_at_fromstringOptional

Updated at from. Suggested format YYYY-MM-DDTHH:MM:SSZ, e.g. 2018-01-01T00:00:00Z. System time zone is UTC.

updated_at_tostringOptional

Updated at to. Suggested format YYYY-MM-DDTHH:MM:SSZ, e.g. 2018-01-01T00:00:00Z. System time zone is UTC.

Responses
200

List users

application/json
get
/api/v1/users
200

List users

post
Authorizations
AuthorizationstringRequired

API Token based authentication. Use format: Token token="your-api-key"

Body
user_namestringRequired

Full user name

first_namestringOptional

First name

last_namestringOptional

Last name

email_addressstringRequired

E-mail address (will also serve as login)

registered_account_idstringOptional

ID of subcatalog to associate with user (optional). If not specified, the root account ID used to generate the API key will be registered_account_id

custom_fieldsstringOptional

Hash of custom field values, e.g. { "phone": "867-5309" } (optional)

Responses
200

Registering a user

application/json
post
/api/v1/users
200

Registering a user

Last updated

Was this helpful?