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

Set Default Organization Deprecated

Description

Set default organization for principal user.

Access Policy

Role User Accounts Service Accounts (Client Credentials Applications)
All Roles ✔️

Request

Request

URL

URL


put
https://{api_host}/csp/gateway/am/api/loggedin/user/profile/default-org
Copy

Request Body

Request Body

RefLinkDto of mimetype application/json Required

Request body for setting default organization.

{
	"refLink": "string"
}
string
refLink Optional

Relative reference link to the resource.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns RefLinkDto of type application/json
{
	"refLink": "string"
}
string
refLink Optional

Relative reference link to the resource.

Errors

Errors

400

The user is not member of the organization | Organization reference link is mandatory


401

The user is not authorized to use the API


403

The user is forbidden to use the API


404

The requested resource could not be found


409

The request could not be processed due to a conflict


429

The user has sent too many requests


500

An unexpected error has occurred while processing the request

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"refLink":"string"}' https://{api_host}/csp/gateway/am/api/loggedin/user/profile/default-org
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-required-roles: any
x-slo-tier: TIER2
x-vmw-doc-deprecated: ""


Feedback

Was this page helpful?