Path parameters

  • id string Required

    The ID of the cases type.

application/json

Body Required

  • name string Required

    name of the type

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the type

    • name string

      Name of the type

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

PUT /api/v1/cases-type/{id}
curl \
 --request PUT https://api.plannrcrm.com/api/v1/cases-type/id \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json" \
 --data '{"name":"Mortgage Plan"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "name": "Mortgage Plan"
}
Response examples (200)
{
  "name": "Mortgage Plan",
  "uuid": "68b50513-9f4f-484b-9911-a3db12d1105c",
  "created_at": "2025-02-20T10:13:02+00:00",
  "updated_at": "2025-02-20T10:13:02+00:00"
}