permissions

This contains the APIs related to permissions

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

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
string
orgIdentifier
string
projectIdentifier
string
scopeFilterDisabled
boolean
Responses
400

Bad Request

500

Internal server error

default

List of resource types

get/authz/api/permissions/resourcetypes
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/authz/api/permissions/resourcetypes?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&scopeFilterDisabled=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

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

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
string
orgIdentifier
string
projectIdentifier
string
scopeFilterDisabled
boolean
Responses
400

Bad Request

500

Internal server error

default

List of all permissions

get/authz/api/permissions
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/authz/api/permissions?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&scopeFilterDisabled=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}