Sftp Users
Retrieves SFTP user information for an account
Authorizations
AuthorizationstringRequired
Canvas API access token
Path parameters
account_idintegerRequired
Responses
200
SFTP user found
application/json
idintegerOptional
usernamestringOptional
account_idintegerOptional
public_keysstring[]Optional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
401
Unauthorized
404
SFTP user not found
get
/accounts/{account_id}/sftp_userCreates an SFTP user for an account
Authorizations
AuthorizationstringRequired
Canvas API access token
Path parameters
account_idintegerRequired
Body
usernamestringRequired
Responses
201
SFTP user created
401
Unauthorized
post
/accounts/{account_id}/sftp_userNo content
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
200
Key added
No content
400
Invalid key format
401
Unauthorized
post
/accounts/{account_id}/sftp_user/keys/addNo content
Removes an SSH public key from the SFTP user
Authorizations
AuthorizationstringRequired
Canvas API access token
Path parameters
account_idintegerRequired
Body
public_keystringRequired
Responses
204
Key deleted
401
Unauthorized
delete
/accounts/{account_id}/sftp_user/keys/deleteNo content
Last updated
Was this helpful?