enforcement

Gets Feature Restriction Detail

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
Request Body schema: application/json
name
required
string
Enum: "TEST1" "TEST2" "TEST3" "MULTIPLE_ORGANIZATIONS" "MULTIPLE_PROJECTS" "SECRET_MANAGERS"
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/enforcement
Request samples
application/json
{
  • "name": "TEST1"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Gets List of Enabled Feature Restriction Detail for The Account

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/enforcement/enabled
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/enforcement/enabled?accountIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}