Create DNS Service Role (v2.0)
Create a new DNS service role.
- application/json
Request Body
Details of the DNS service role to be created
- description
The description of the DNS service role. Max size = 256.
- id string
The ID of the DNS service role.
- name string required
The name of the DNS service role. Max size = 128.
- tags string[]
A information field that can be added to identify the DNS service roles. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- description
The description of the DNS service role. Max size = 256.
- id string
The ID of the DNS service role.
- name string required
The name of the DNS service role. Max size = 128.
- tags string[]
A information field that can be added to identify the DNS service roles. Maximum 10 unique tags of length 1024 each are allowed.
{
"id": "string",
"name": "string",
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
_error ErrorResponse[]
Array [code stringmessage string]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_REQUEST_DUPLICATE_KEY"
},
{
"code": "DNSROLE_NAME_REQD"
},
{
"code": "NAME_EXCEEDS_LIMIT"
},
{
"code": "DESCRIPTION_EXCEEDS_LIMIT"
},
{
"code": "INVALID_TAG"
}
]
}
}
Loading...