Account Admins
API Token based authentication. Use format: Token token="your-api-key"
Page number for pagination (defaults to 0)
Sort field (only 'name')
Search query to filter account admins
Number of results per page
Alternative to per_page parameter
Listing account admins
GET /api/v1/account_admins HTTP/1.1
Host: REPLACE_ME
Authorization: YOUR_API_KEY
Accept: */*
Listing account admins
{
"content": [
{
"id": 1,
"name": "Test Admin",
"canvas_user_id": "12345",
"email": "[email protected]",
"accounts": [
{
"id": 10,
"name": "Domain Account 10"
}
]
}
],
"page": {
"number": 0,
"size": 20,
"totalElements": 1,
"totalPages": 1
}
}API Token based authentication. Use format: Token token="your-api-key"
Canvas user ID
Full name of the user
Email address of the user
Array of account IDs to associate with the user
Creating an account admin association
POST /api/v1/account_admins HTTP/1.1
Host: REPLACE_ME
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 88
"canvas_user_id='text'&user_name='text'&email_address='text'&account_ids='text'"Creating an account admin association
{
"id": 1,
"name": "Test Admin",
"canvas_user_id": "12345",
"email": "[email protected]",
"accounts": [
{
"id": 12,
"name": "Domain Account 12"
}
]
}API Token based authentication. Use format: Token token="your-api-key"
Deleting a specific account admin association
DELETE /api/v1/account_admins/{id}/accounts/{account_id} HTTP/1.1
Host: REPLACE_ME
Authorization: YOUR_API_KEY
Accept: */*
Deleting a specific account admin association
{}API Token based authentication. Use format: Token token="your-api-key"
Deleting all account admin associations
DELETE /api/v1/account_admins/{id} HTTP/1.1
Host: REPLACE_ME
Authorization: YOUR_API_KEY
Accept: */*
Deleting all account admin associations
{}Last updated
Was this helpful?