Pixels
Update a tracking pixel
POST
/api/pixels/{pixelId}Updates a tracking pixel's name or slug.
Headers
| Name | Type | Description |
|---|---|---|
| Authorizationrequired | string | Authentication credentials, e.g. Bearer <token>. |
Path parameters
| Name | Type | Description |
|---|---|---|
| pixelIdrequired | string | ID of the tracking pixel. |
Request body
| Name | Type | Description |
|---|---|---|
| name | string | Display name of the resource. |
| slug | string | URL slug used to access the resource. |
Example request
Responses
200The operation completed successfully.
| Name | Type | Description |
|---|---|---|
| createdAtrequired | string | Date and time the record was created. |
| deletedAtrequired | string | Date and time the record was deleted, if applicable. |
| idrequired | string | Unique identifier of the resource. |
| namerequired | string | Display name of the resource. |
| slugrequired | string | URL slug used to access the resource. |
| teamIdrequired | string | ID of the associated team. |
| updatedAtrequired | string | Date and time the record was last updated. |
| userIdrequired | string | ID of the associated user. |
200 example
400Bad request.
| Name | Type | Description |
|---|---|---|
| errorrequired | object | Error details returned when the operation fails. |
400 example
401Unauthorized.
| Name | Type | Description |
|---|---|---|
| errorrequired | object | Error details returned when the operation fails. |
401 example
500Server error.
| Name | Type | Description |
|---|---|---|
| errorrequired | object | Error details returned when the operation fails. |
500 example
Code samples
cURL