Permission API

In Surpass, a user’s ability to view and interact with different parts of the system depends on their “permissions”. Each part of the system has a unique permission, which acts as a key. Only users with the relevant permission can access a given part of the system. If a user does not have permissions for an area of the system, they will not see it.

Individual permissions can be combined into a profile called a “role”, which can then be given to a user. A role gives a user all of the included permissions. Each role in Surpass has a unique identifier. Read Creating a new role for information on how to create a custom role.

The Permission API resource is used to list permissions (roles).

This article explains what calls can be made to the Surpass API using the Permission resource.

Import this API into your Postman Workspace

In This Article

Listing permissions

get /api/v2/Permission

Send a request to the endpoint to retrieve a list of permissions (roles). Refer to the available parameters to influence the response. No request body is required.

Error Codes

Refer to the following table for information on error codes that may be encountered when using this resource.

Further reading

Read the following articles to learn more about similar APIs, how to get started with the Surpass API v2, and how to get the best out of this reference documentation:

NOTE: This form is to provide feedback to help improve the Surpass Help documentation only. If you need live support, contact support@surpass.com.