Create Cookie

Use this API to create a new cookie.

Body Params

Configuration for the new cookie

string
required

Name of the cookie.

string
enum
required

Lifespan of the cookie.

Allowed:
string
required

Host of the cookie.

string
Defaults to ""

Description of the cookie, It should be 1075 characters or less.

string
required

Unique identifier of a cookie category (Cookie Category ID).

integer
Defaults to 0

Length of the cookie lifespan, enter a number greater than 0 if this is a persistent cookie, otherwise leave as 0.

integer
enum
required

Unit of time for the cookie lifespan, enter 1 (for days), 7 (for weeks), 30 (for months), or 365 (for years) based on the time unit the cookie lifespan is measured in.

Allowed:
domainCookieCategoryList
array of objects
Defaults to

A list of domain level categorizations for the Cookie.

domainCookieCategoryList
Responses

400

Bad Request.

Possible reason: Invalid or missing parameter passed.

401

Unauthorized.

403

Forbidden.

Possible reasons:
You do not have enough permissions to invoke this endpoint.

404

Not Found

500

Internal Server Error.

Possible reason: Cookie with the same name and host already exists.

Language
Credentials
OAuth2
Required Scopes
Response
Choose an example:
application/json