All Products
Search
Document Center

AddAuthResource

Last Updated: Jul 01, 2022

Adds a domain name and a path for authorization.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AuthIdLongNo

The ID of the authorization record.

13
DomainIdLongNo

The ID of the domain name.

128
PathstringNo

The path.

/abc
GatewayUniqueIdstringNo

The unique ID of the gateway.

gw-86575c0bc9f04ecfbacb92b8e392****
AcceptLanguagestringNo

Response parameters

ParameterTypeDescriptionExample
object

The data structure.

RequestIdstring

The ID of the request.

4BBCF560-4DD7-5DBD-B849-CCB135BBBAB7
HttpStatusCodeinteger

The HTTP status code returned.

403
Messagestring

The error message returned if the request fails.

You are not authorized to perform this operation.
Codeinteger

The status code returned.

200
Successboolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request fails.
true
DataLong

The returned data.

24

Error codes

For a list of error codes, visit the API error center.