Latest version: v2.49

Provisioning Domain

Follow

GET /{EnvironmentName}/Domain/

Description: Gets a list containing the domains registered with Office 365

 

Name

Located in

Description

Required

Schema

EnvironmentName

Path

Name of the Environment

Yes

string

 

Responses

Code

Description

Schema

200

The domains registered with Office 365

[
Domain 
{
isDefault:
 boolean
Whether it is the default domain

name:
 string
The domain name
}
]

403

The Provisioning Key in the configuration is not defined or empty.
The Provisioning API is not enabled in the configuration.
The Provisioning Key in the header does not match the configured value

 

404

Resource is not found

500

Internal server error. This could be caused by passing an incorrect data object

 

Example

GET https://portal.workspace365.net/Provisioning/example/Domain/ HTTP/1.1
Accept: application/json
Host: portal.workspace365.net
ProvisioningKey: C7656554-85A2-4AFD-BAB7-18C71593C4D2
X-Requested-With: XMLHttpRequest
Have more questions? Submit a request

Comments