Creates a customization specification.
Set domain locking for reseller's existing domains.
v2/domains/domain_name/set-locking
Header Parameters
| Name | Type | Restrictions | Required-optional |
|---|---|---|---|
| domain_name | String | Valid full domain name |
Required
|
| Name | Type | Restrictions | Required-optional |
|---|---|---|---|
| status | string | lock unlock |
Required
|
| Code | Response | Type | Status |
|---|---|---|---|
| success | true | boolean | 200 OK |
| message | Domain <domain_name> is locked | string | 200 OK |
| message | Domain <domain_name> is unlocked | string | 200 OK |
| Code | Response | Status |
|---|---|---|
| success | false | 400 Bad Request |
| message | Not your registration | 400 Bad Request |
| message | Set domain locking exception error | 400 Bad Request |
| message | Empty status | 400 Bad Request |
| message | Invalid status value | 400 Bad Request |
| domain_name | Invalid domain name | 400 Bad Request |
| domain_tld | Invalid domain tld | 400 Bad Request |