[{"label":"Latest (v1.0)","version":"latest"}]
csp
Set Default Organization Deprecated
DescriptionSet default organization for principal user.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
All Roles | ✔️ | ❌ |
Request
URLURL
https://{api_host}/csp/gateway/am/api/loggedin/user/profile/default-org
Request Body
Request Body
{
"refLink": "string"
}
string
refLink
Optional
Relative reference link to the resource.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
RefLinkDto
of type application/json
{
"refLink": "string"
}
string
refLink
Optional
Relative reference link to the resource.
Errors
CspErrorResponse
400
The user is not member of the organization | Organization reference link is mandatory
CspErrorResponse
401
The user is not authorized to use the API
CspErrorResponse
403
The user is forbidden to use the API
CspErrorResponse
404
The requested resource could not be 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
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
[{"label":"Latest (v1.0)","version":"latest"}]
csp