Sftp Users

Get SFTP user

get
/accounts/{account_id}/sftp_user

Retrieves SFTP user information for an account

Authorizations
AuthorizationstringRequired

Canvas API access token

Path parameters
account_idintegerRequired
Responses
chevron-right
200

SFTP user found

application/json
idintegerOptional
usernamestringOptional
account_idintegerOptional
public_keysstring[]Optional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
get
/accounts/{account_id}/sftp_user

Create SFTP user

post
/accounts/{account_id}/sftp_user

Creates an SFTP user for an account

Authorizations
AuthorizationstringRequired

Canvas API access token

Path parameters
account_idintegerRequired
Body
usernamestringRequired
Responses
post
/accounts/{account_id}/sftp_user

No content

Add SSH key

post
/accounts/{account_id}/sftp_user/keys/add

Adds an SSH public key to the SFTP user

Authorizations
AuthorizationstringRequired

Canvas API access token

Path parameters
account_idintegerRequired
Body
public_keystringRequired

SSH public key in OpenSSH format

Responses
chevron-right
200

Key added

No content

post
/accounts/{account_id}/sftp_user/keys/add

No content

Delete SSH key

delete
/accounts/{account_id}/sftp_user/keys/delete

Removes an SSH public key from the SFTP user

Authorizations
AuthorizationstringRequired

Canvas API access token

Path parameters
account_idintegerRequired
Body
public_keystringRequired
Responses
delete
/accounts/{account_id}/sftp_user/keys/delete

No content

Last updated

Was this helpful?