Users
Catalog user id
user found
GET /api/v1/users/{id} HTTP/1.1
Host: catalog.example.edu
Authorization: YOUR_API_KEY
Accept: */*
user found
{
"user": {
"id": 1,
"root_account_id": 1,
"canvas_user_id": 1,
"registered_account_id": 1,
"canvas_root_account_uuid": "text",
"canvas_user_uuid": "text",
"user_name": "text",
"first_name": "text",
"last_name": "text",
"email_address": "text",
"custom_fields": {},
"created_at": "text",
"updated_at": "text",
"time_zone": "text",
"merged_into_user_id": 1,
"disable_alert_timeouts": true
}
}Set clear_merged_into_user_id to true to resolve the "Current user has been deleted or merged. Please re-login" login error.
Catalog user id
Clear the merged_into_user_id field when true
Custom field values (strings or null); omitted keys are unchanged
user updated
PUT /api/v1/users/{id} HTTP/1.1
Host: catalog.example.edu
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"clear_merged_into_user_id": true,
"custom_fields": {}
}user updated
{
"user": {
"id": 1,
"root_account_id": 1,
"canvas_user_id": 1,
"registered_account_id": 1,
"canvas_root_account_uuid": "text",
"canvas_user_uuid": "text",
"user_name": "text",
"first_name": "text",
"last_name": "text",
"email_address": "text",
"custom_fields": {},
"created_at": "text",
"updated_at": "text",
"time_zone": "text",
"merged_into_user_id": 1,
"disable_alert_timeouts": true
}
}Deletes the user and dependencies. When only_orders_and_enrollments is true, deletes only orders, enrollments, payments, bulk invitations, and applicants — not the user or related account admins.
Catalog user id
Delete only user dependencies, not the user itself
user (and/or dependencies) deleted
No content
DELETE /api/v1/users/{id} HTTP/1.1
Host: catalog.example.edu
Authorization: YOUR_API_KEY
Accept: */*
user (and/or dependencies) deleted
No content
true = Catalog-registered only; false = Canvas-registered only; omit for all
Canvas user id
Created at from (UTC)
Created at to (UTC)
users listed
GET /api/v1/users HTTP/1.1
Host: catalog.example.edu
Authorization: YOUR_API_KEY
Accept: */*
users listed
{
"users": [
{
"id": 1,
"root_account_id": 1,
"canvas_user_id": 1,
"registered_account_id": 1,
"canvas_root_account_uuid": "text",
"canvas_user_uuid": "text",
"user_name": "text",
"first_name": "text",
"last_name": "text",
"email_address": "text",
"custom_fields": {},
"created_at": "text",
"updated_at": "text",
"time_zone": "text",
"merged_into_user_id": 1,
"disable_alert_timeouts": true
}
]
}Full user name
E-mail address (also the login)
Subcatalog to associate (defaults to the API key root account)
Custom field values
user registered
POST /api/v1/users HTTP/1.1
Host: catalog.example.edu
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 127
{
"user_name": "text",
"first_name": "text",
"last_name": "text",
"email_address": "text",
"registered_account_id": 1,
"custom_fields": {}
}user registered
{
"user": {
"id": 1,
"root_account_id": 1,
"canvas_user_id": 1,
"registered_account_id": 1,
"canvas_root_account_uuid": "text",
"canvas_user_uuid": "text",
"user_name": "text",
"first_name": "text",
"last_name": "text",
"email_address": "text",
"custom_fields": {},
"created_at": "text",
"updated_at": "text",
"confirmation_url": "text",
"terms_of_use": true,
"locale": "text"
}
}Last updated
Was this helpful?