Skip to main content
PATCH
/
v1
/
awards
/
{id}
Update Award
curl --request PATCH \
  --url https://api.mokaru.ai/v1/awards/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "organisation": "<string>",
  "description": "<string>",
  "date": "<string>"
}
'

Overview

Update an existing award. Only provided fields are modified. Pass null to clear an optional field.
Scope required: awards:write | Rate limit: 20 requests/min

Request

PATCH /v1/awards/clx...
Content-Type: application/json

Path Parameters

id
string
required
Award id

Body Parameters

All fields are optional. Omit a field to leave it unchanged, set to null to clear it.
name
string
Award name (max 200 characters)
organisation
string
Issuing organisation (max 200 characters, nullable)
description
string
Free-text description (nullable)
date
string
ISO 8601 date string (nullable)

Response

{
  "success": true,
  "id": "clx..."
}