Configure Directory
This endpoint is responsible for creating a directory for users and groups.
The VMware Identity Services tenant ID
my-tenant
{
"_links": {
"self": {
"href": "https://example.com/path-to-self"
}
},
"id": "string",
"name": "my_dir 1",
"domains": [
"domain1",
"domain2"
],
"default_domain": "domain1",
"source": "AZURE",
"type": "PROVISIONED",
"delete_in_progress": false
}
The resource HATEOAS links. Usually includes a "self" link for this resource
The unique identifier of the directory
User provided directory name. This must be unique. The allowed symbols are letters in any language, digits (0-9), space and -_
List of directory domain names
The default domain is required when users and groups are provisioned from an external directory without a domain. If the default domain is not set when the directory is created and the domain name is not synced from the external directory, user records in the directory will not have the domain attribute associated with the record and underlying services that rely on the domain attribute may fail. Must be one of the list of domain names. Note that the field is not returned in list directories API.
The type of the directory source
The type of the directory
If true, the directory is marked for deletion and will be deleted soon.
The directory has been created.
{
"_links": {
"self": {
"href": "https://example.com/path-to-self"
}
},
"id": "string",
"name": "my_dir 1",
"domains": [
"domain1",
"domain2"
],
"default_domain": "domain1",
"source": "AZURE",
"type": "PROVISIONED",
"delete_in_progress": false
}
The resource HATEOAS links. Usually includes a "self" link for this resource
The unique identifier of the directory
User provided directory name. This must be unique. The allowed symbols are letters in any language, digits (0-9), space and -_
List of directory domain names
The default domain is required when users and groups are provisioned from an external directory without a domain. If the default domain is not set when the directory is created and the domain name is not synced from the external directory, user records in the directory will not have the domain attribute associated with the record and underlying services that rely on the domain attribute may fail. Must be one of the list of domain names. Note that the field is not returned in list directories API.
The type of the directory source
The type of the directory
If true, the directory is marked for deletion and will be deleted soon.
The directory definition contains invalid input.
Unauthorized to create a directory.
The directory or domain name already exists.