POST/partners/customers/{domainId}/change-domain

Changes a group name to a domain name. For domains other than .by-works.com, you must add a domain for upgrade in advance.

Authorization

oauth2

OAuth 2.0 authentication. For more information, see Authentication and Authorization.

Scope

partner

HTTP Request

POSThttps://www.worksapis.com/v1.0/partners/customers/{domainId}/change-domain

Path Parameters

ParameterTypeDescription
domainId integer 

Domain ID


required
example : 10000001 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Request Body

PropertyTypeDescription
domain string 
 

Response

HTTP 204

No Content

HTTP 400

Bad request

HTTP 500

Internal Server Error