[{"label":"Latest (v1.0)","version":"latest"}]
csp

Remove Clients From Organization By Organization ID

Description

Remove OAuth clients from organization

Access Policy

Role User Accounts Service Accounts (Client Credentials Applications)
Organization Admin ✔️
Organization Owner ✔️
Developer ✔️

Request

Request

URL

URL


delete
https://{api_host}/csp/gateway/am/api/orgs/{orgId}/clients
Copy

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.

Parameter Serialization Style: SIMPLE Explode:false

Request Body

Request Body

RemoveMembersFromOrgRequest of mimetype application/json Required
{
	"ids": [
		"string"
	]
}
array of string
ids Required

Identifiers of the members that will be removed from the organization.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PartialSuccessResponseString of type application/json
{
	"failed": [
		"string"
	],
	"succeeded": [
		"string"
	]
}
array of string
failed Optional

The entities for which the operation failed.


array of string
succeeded Optional

The entities for which the operation is successful.

Errors

Errors

CspErrorResponse
401

The user is not authorized to use the API


CspErrorResponse
403

The user is forbidden to use the API


CspErrorResponse
404

Organization with this identifier is not found. | Clients […] not found


CspErrorResponse
429

The user has sent too many requests


CspErrorResponse
500

An unexpected error has occurred while processing the request

Code Samples

Code Samples

cURL Command

curl -X DELETE -H "Content-Type: application/json" -d '{"ids":["string"]}' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/clients


[{"label":"Latest (v1.0)","version":"latest"}]
csp
Feedback

Was this page helpful?