Add customer IP address
POST/customers/:customerId/ips
Add a new IP address for a customer.
Request
Path Parameters
customerId uuidrequired
- application/json
Body
required
ipAddress stringrequired
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
customerId uuidrequired
ipAddress stringrequired
createdAt date-timerequired
updatedAt date-timerequired
createdBy stringrequired
updatedBy stringrequired
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ipAddress": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"updatedBy": "string"
}
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...