Partial update key page
PATCH/key-pages/:keyPageId
Update several fields of a key page
Request
Path Parameters
- application/json
Body
required
Matching type for the given key page
Name of the key page
Regular expression for the relative URL
Second matching type for the key page (if needed)
Number of impressions for the key page
Responses
- 200
- 400
- 403
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
Date and time a key page is created
Unique identifier of the given key page
Matching type for the given key page
Date and time a key page is modified
Name of the key page
Regular expression for the relative URL
Second matching type for the given key page (if needed)
Unique site identifier associated with the key page
Number of impressions for the key page
{
"dateCreated": "2024-07-29T15:51:28.071Z",
"id": 0,
"matchType": "string",
"modificationDate": "2024-07-29T15:51:28.071Z",
"name": "string",
"relativeUrlRegExp": "string",
"secondMatchType": "string",
"siteId": 0,
"totalCount": 0
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}