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

Create Trust Member Organization

Description

Create trust member organization.

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}/member-orgs
Copy

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.

Parameter Serialization Style: SIMPLE Explode:false

Request Body

Request Body

CreateOrganizationRequest of mimetype application/json Required

Defines the properties of the request for organization trust creation.

{
	"displayName": "string",
	"enforceUserApiTokenMfa": false,
	"isMfaRequired": false,
	"language": "string",
	"locale": "string"
}
string
displayName Optional

Display name must be alphanumerical and can contain the following symbols -_.`’:@&, and space. International characters are allowed.


boolean
enforceUserApiTokenMfa Optional

Flag to enforce the user Api token multi-factor authentication (MFA).
If enabled then user needs to provide additional multi-factor authentication passcode when exchange API token for AccessToken.


boolean
isMfaRequired Optional

If the flag is enabled, vmwid users will be able to login only when they enabled multi-factor authentication (MFA).


string
language Optional

Default locale lang code preference for the organization.


string
locale Optional

Default locale lang country preference for the organization.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns IdDto of type application/json
{
	"id": "string"
}
string
id Optional

The unique identifier of the resource.

Errors

Errors

CspErrorResponse
400

Trusted organization is already trustee organization in another active hierarchy organization trust.


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 '{"displayName":"string","enforceUserApiTokenMfa":false,"isMfaRequired":false,"language":"string","locale":"string"}' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/member-orgs


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

Was this page helpful?