Skip to content

Permissions Requested by an Application

Request

Returns the list of user permissions the application declares for a location — the access rights the system user receives once the installation is confirmed.

Useful before calling Connect an Application to a Location to show the owner exactly what they are granting.

The authenticated user must have the Manage user rights permission on the location.

New to this flow? Follow Install & test your app before moderation from credentials through the final active status check.

Security
BearerPartnerUser
Path
company_idintegerrequired

Location ID

application_idintegerrequired

Application ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
curl -i -X GET \
  'https://developer.alteg.io/_mock/en/developers/openapi/company/{company_id}/marketplace/applications/{application_id}/permissions' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

List of declared permissions

Bodyapplication/json
successboolean(Successful response status)

Response status.

Example:true
dataArray of objects

Permissions declared by the application

Example:
[ { "title": "Manage clients", "slug": "clients", "child_permissions": [] } ]
metaArray of any or object(Empty meta object)

Additional response data (empty object or empty array)

Example:
{}
Response
{ "success": true, "data": [ {} ], "meta": [] }