ApplicationsResource


Create an application


Creates an application for use with OAuth

POST https://example.com/api/admin/enterprises/{enterprise}/users/{user}/applications

Roles : [ROLE_AUTHENTICATED, ROLE_USERS_VIEW]

Content-Type : application Accept : application

Error Codes

  • PRIVILEGE-0 - The requested privilege does not exist
  • PRIVILEGE-1 - The user does not have the requested privilege

Example

List applications


Return the list of available applications to work with.

GET https://example.com/api/admin/enterprises/{enterprise}/users/{user}/applications

Roles : [ROLE_AUTHENTICATED, ROLE_USERS_VIEW]

Parameter Type Default Value Description
oauth_token String Valid OAuth token to use

Accept : applications

Error Codes

  • EN-0 - The requested enterprise does not exist
  • USER-3 - The requested user does not exist

Example

Delete an application


DELETE https://example.com/api/admin/enterprises/{enterprise}/users/{user}/applications/{application}

Roles : [ROLE_AUTHENTICATED, ROLE_USERS_VIEW]

Example

Get an application


GET https://example.com/api/admin/enterprises/{enterprise}/users/{user}/applications/{application}

Roles : [ROLE_AUTHENTICATED, ROLE_USERS_VIEW]

Accept : application

Error Codes

  • EN-0 - The requested enterprise does not exist
  • USER-23 - The requested application does not exist
  • USER-3 - The requested user does not exist

Example