Update a location property
PATCH
https://api.expirationreminder.net/v1/locations/{id}Path Parameters
id
string
RequiredRequest Body
Sample Request
[
{
"operationType": "0",
"path": "string",
"op": "string",
"from": "string",
"value": null
}
]PATCH /v1/locations/{id}
$ curl https://api.expirationreminder.net/v1/locations/{id} \
-H "Authorization: Bearer <token>"
Responses
| Property | Type | Description |
|---|---|---|
id |
string (uuid) |
- |
parent_location_id |
string (uuid) |
- |
name |
string |
- |
team_id |
string (uuid) |
- |
modified |
string |
- |
custom_fields |
object[] |
- |
Example Response
{
"id": "00000000-0000-0000-0000-000000000000",
"parent_location_id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"team_id": "00000000-0000-0000-0000-000000000000",
"modified": "string",
"custom_fields": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"value": "string"
}
]
}Not Modified
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}Not Found
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}Conflict
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}