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

Activate Organization Refresh Tokens With API Token Path

Description

Activates the deactivated tokens provided. Max 15 tokens can be activated in a request. Note: Partial success, please read response which tokenIds could not be activated

Access Policy

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

Request

Request

URL

URL


post
https://{api_host}/csp/gateway/am/api/orgs/{orgId}/api-tokens/activate
Copy

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.

Parameter Serialization Style: simple Explode:false

Request Body

Request Body

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

Token Ids

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns ChangeApiTokensStatusResponse of type application/json

Partial Success, please read response which tokenIds could not be activated

{
	"failures": [
		{
			"id": "string",
			"message": "string"
		}
	],
	"successes": [
		"string"
	]
}
failures Optional

Token Ids failed to update


array of string
successes Optional

List of successfully updated token Ids

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.


CspErrorResponse
409

The request could not be processed due to a conflict


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 POST -H "Content-Type: application/json" -d '{"ids":["string"]}' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/api-tokens/activate
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-required-roles: org_owner
x-slo-tier: TIER2


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

Was this page helpful?