curl --request PATCH \
--url https://api.zivio.net/api/v4/notes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'zivio-tenant-id: <api-key>' \
--data '
{
"name": "Updated Name"
}
'{
"id": 101,
"subject": "Example subject",
"content": "Example content",
"notable_type": "Project",
"notable_id": 501,
"user_id": 501,
"visibility_types": null,
"author": null,
"created_at": "2024-01-16T10:30:00+00:00",
"updated_at": "2024-01-16T10:30:00+00:00"
}{
"error": "invalid_token",
"error_description": "The access token provided is expired, revoked, malformed, or invalid for other reasons"
}{
"error": "insufficient_scope",
"error_description": "The request requires higher privileges than provided by the access token",
"required_scope": "notes:write",
"provided_scopes": [
"welcome:read"
]
}{
"message": "Record not found"
}{
"error": "State transition from 'completed' to 'draft' is not allowed"
}Notes
Update a Note
PATCH
/
notes
/
{id}
curl --request PATCH \
--url https://api.zivio.net/api/v4/notes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'zivio-tenant-id: <api-key>' \
--data '
{
"name": "Updated Name"
}
'{
"id": 101,
"subject": "Example subject",
"content": "Example content",
"notable_type": "Project",
"notable_id": 501,
"user_id": 501,
"visibility_types": null,
"author": null,
"created_at": "2024-01-16T10:30:00+00:00",
"updated_at": "2024-01-16T10:30:00+00:00"
}{
"error": "invalid_token",
"error_description": "The access token provided is expired, revoked, malformed, or invalid for other reasons"
}{
"error": "insufficient_scope",
"error_description": "The request requires higher privileges than provided by the access token",
"required_scope": "notes:write",
"provided_scopes": [
"welcome:read"
]
}{
"message": "Record not found"
}{
"error": "State transition from 'completed' to 'draft' is not allowed"
}Authorizations
OAuth 2.0 client credentials. The access token from POST /oauth/token is sent as a bearer token. Request only the scopes you need.
Your Zivio organisation identifier. The regional API endpoints serve every Zivio organisation, so each request must identify yours.
Path Parameters
Note ID
Body
application/json
Show child attributes
Show child attributes

