Update a contact type
PUT
https://api.expirationreminder.net/v1/contacttypes/{id}Path Parameters
id
string
RequiredRequest Body
| Property | Type | Required | Description |
|---|---|---|---|
name |
string |
No | - |
id |
string (uuid) |
No | - |
is_active |
boolean |
No | - |
modified |
string |
No | - |
Sample Request
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"is_active": false,
"modified": "string"
}PUT /v1/contacttypes/{id}
$ curl https://api.expirationreminder.net/v1/contacttypes/{id} \
-H "Authorization: Bearer <token>"
Responses
| Property | Type | Description |
|---|---|---|
name |
string |
- |
id |
string (uuid) |
- |
is_active |
boolean |
- |
modified |
string |
- |
Example Response
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"is_active": false,
"modified": "string"
}Not Found
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}