Inboxes
Update Inbox
Update an existing inbox
PATCH
/
api
/
v1
/
inboxes
/
{id}
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Support Inbox",
"channel_type": "website"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z"
},
"message": "Inbox updated successfully"
}{
"success": false,
"error": {
"code": "BAD_REQUEST",
"message": "Invalid request data"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Unauthorized"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "Forbidden"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Inbox not found"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "An internal server error occurred"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}Autorizaciones
Parámetros de ruta
ID of the inbox
Cuerpo
application/json
The body is of type any.
⌘I
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Support Inbox",
"channel_type": "website"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z"
},
"message": "Inbox updated successfully"
}{
"success": false,
"error": {
"code": "BAD_REQUEST",
"message": "Invalid request data"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Unauthorized"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "Forbidden"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Inbox not found"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "An internal server error occurred"
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"path": "/api/v1/inboxes/{id}",
"method": "PATCH"
}
}