User

get

/profile (authenticated)

Get the profile for the logged in user

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.


post

/profile (authenticated)

Update the profile for the logged in user

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Accepted Body Arguments

{
// The email for the user
email: email,
// The new password for the user
password: password,
// The user's username
username: string,
}

get

/user/permissions/:teamid (authenticated)

Get the permissions the user has in a given team

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Accepted Restful Arguments

teamid: The id of the team to act on

post

/user/feedback

Give user feedback

Accepted Body Arguments

{
// Feedback from user
feedback: feedback,
// User email
email: email,
}

post

/user/switchcloud (authenticated)

Switch cloud

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Accepted Body Arguments

{
// Cloud version
cloud_version: cloud_version,
}

Did you find what you were looking for? Thank you! There was a problem submitting your feedback. Please try again later.