read
write
) Bad Request
Internal server error
List of all permissions
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'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
read
write
) Bad Request
Internal server error
List of resource types
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'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}