[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator

Delete OAuth Clients

Description

Removes all OAuth clients from a specified organization.

Request

Request

URL

URL


delete
https://{api_host}/v2/orgs/{orgId}/clients
Copy

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.


Request Body

Request Body

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

The list of unique identifiers.

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

400

Bad Request - The request is either incomplete or incorrect


401

Unauthorized - The user is not authorized to use the API


403

Forbidden - User does not have permission for this operation


500

Internal Server Error - 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}/v2/orgs/{orgId}/clients


Feedback

Was this page helpful?