Update referrer
PUT/referrers/:referrerId
Update referrer belonging to this Id
Request
Path Parameters
- application/json
Body
required
Array [
]
detections
object[]
Name of the referrer
Priority of the referrer
Site Id of the project the referrer belongs to
Tags belonging to this referrer
Responses
- 200
- 400
- 401
- 403
- 404
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
]
Date and time referred is created
detections
object[]
Unique Id of the referrer
Index of the referrer
Date and time referred is modified
Name of the referrer
Priority of the referrer
Site Id of the project the referrer belongs to
Tags belonging to this referrer
{
"dateCreated": "2024-07-29T15:51:28.071Z",
"detections": [
{
"and": true,
"andMethod": "string",
"andParameters": "string",
"method": "string",
"parameters": "string"
}
],
"id": 0,
"index": 0,
"modificationDate": "2024-07-29T15:51:28.071Z",
"name": "string",
"priority": 0,
"siteId": 0,
"tags": "string"
}
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"
}
Unauthorized
- */*
- 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"
}
Not Found
- */*
- 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"
}