Permissions

This contains the APIs related to permissions

List Permissions

Get all permissions in a scope or all permissions in the system

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

scopeFilterDisabled
boolean

This is to enable or disable filtering by scope. The default value is false. If the value is true, all the permissions in the system are fetched.

Responses
400

Bad Request

500

Internal server error

default

List of all permissions

get/authz/api/permissions
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

List Resource Types

Get all resource types for permissions in a scope or in the system.

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

scopeFilterDisabled
boolean

This is to enable or disable filtering by scope. The default value is false. If the value is true, all the permissions in the system are fetched.

Responses
400

Bad Request

500

Internal server error

default

List of resource types

get/authz/api/permissions/resourcetypes
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}