githubEdit

earth-americasSubdomain

List subdomains

get

Returns all subdomains of the authenticated user. Requires Platinum plan or higher.

Authorizations
api-tokenstringRequired
Responses
chevron-right
200

List of subdomains returned successfully

application/json
anyOptional
get
/subdomain/all

Get subdomain

get

Returns information about a specific subdomain of the user. Requires Platinum plan or higher.

Authorizations
api-tokenstringRequired
Path parameters
subdomainNamestringRequired

Subdomain name (without the .discloud.app suffix)

Responses
chevron-right
200

Subdomain returned successfully

application/json
anyOptional
get
/subdomain/{subdomainName}

Create subdomain

post

Creates a new subdomain. Requires Platinum plan or higher. Maximum of 100 subdomains per user.

Authorizations
api-tokenstringRequired
Path parameters
subdomainNamestringRequired

Desired subdomain name (without the .discloud.app suffix)

Pattern: ^[a-z0-9-]{2,20}$
Responses
post
/subdomain/{subdomainName}

Delete subdomain

delete

Deletes a user's subdomain. Cannot delete subdomains that are in use (status 2). Requires Platinum plan or higher.

Authorizations
api-tokenstringRequired
Path parameters
subdomainNamestringRequired

Subdomain name to be deleted

Responses
chevron-right
200

Subdomain deleted successfully

application/json
statusstringOptional
messagestringOptional
delete
/subdomain/{subdomainName}

Last updated