Skip to main content
PATCH
Update a service

Authorizations

Authorization
string
header
required

API key created in the ZeroClick dashboard under Settings → API keys. Keys start with zc_. Send them as Authorization: Bearer zc_....

Path Parameters

serviceId
string
required
Minimum string length: 1

Body

application/json
name
string
Required string length: 1 - 200
Pattern: ^[^<>\p{Cc}]*$
slug
string
Required string length: 1 - 80
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
description
string
Maximum string length: 2000
icon
string | null
Maximum string length: 500
Pattern: ^(?:[a-z0-9-]+|https:\/\/\S+)$

Response

Default Response

service
object
required