Hikka Docs Hikka Docs
EndpointsClient

Update user client

PUT
/client/{client_reference}

Path Parameters

client_reference*string
Formatuuid

Header Parameters

auth?|
auth?|

Request Body

application/json

name?|

Client name

description?|

Short clear description of the client

endpoint?|

Endpoint of the client

revoke_secret?boolean

Create new client secret and revoke previous

Defaultfalse
[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://api.hikka.io/client/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "reference": "string",
  "name": "string",
  "description": "string",
  "verified": true,
  "user": {
    "reference": "c773d0bf-1c42-4c18-aec8-1bdd8cb0a434",
    "updated": 1686088809,
    "created": 1686088809,
    "description": "Hikka",
    "username": "hikka",
    "cover": "string",
    "active": true,
    "avatar": "string",
    "role": "string"
  },
  "created": 0,
  "updated": 0,
  "secret": "string",
  "endpoint": "string"
}
{
  "message": "Example error message",
  "code": "example_error"
}