Change Org Service Access Using POST

Change Org Service Access Using POST

Change Service access for org

Access Policy

Role User Accounts Service Accounts (Client Credentials Applications)
Service Owner ✔️ ✔️
Service Enabler ✔️ ✔️
Request
URI
POST
https://{api_host}/csp/slc/api/definitions/external/{id}/org-access/actions
COPY
Path Parameters
string
id
Required

The id of the service

Query Parameters
string
action
Required

Service org access action. Possible values:[GRANT_ACCESS, DENY_ACCESS]

Possible values are : GRANT_ACCESS, DENY_ACCESS,

Request Body
ServiceAccessActionDetailsDto of type(s) application/json
Required

Show optional properties

{
    "orgId": "string"
}
{
    "orgId": "string",
    "stateReason": "string",
    "skipSubscriptionValidation": false
}
string
orgId
Required

The id of the organization

string
stateReason
Optional

Reason for update the access to service

Possible values are : REACHED_ORGS_LIMIT, TECHNICAL_MAINTENANCE,
boolean
skipSubscriptionValidation
Optional

Do skip validation of active commerce subscription for the org and service

Authentication
This operation uses the following authentication methods.
Responses
202

Accepted

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"orgId:"string"}' https://{api_host}/csp/slc/api/definitions/external/{id}/org-access/actions