Browse the help center

Add preset domain to group

Adds a single domain entry to the specified preset domain group.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/preset-domain/domain/add.do

Adds a single domain entry to the specified preset domain group. The domain value is validated and must be a syntactically valid domain name. The group must exist or a 404 error is returned. Returns the created domain object as JSON. Requires PRESET_DOMAIN_GROUP_MANAGEMENT permission. The action is recorded in the audit log.

Form Params

groupId integer required

Unique numeric ID of the preset domain group to add the domain to

100

domain string required

Domain name to add (must be a valid domain, e.g., example.com)

example.com

Responses

200

Success

400

Missing required parameter

401

Unauthorized

403

Forbidden

404

Preset group not found

500

Internal server error

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.