Sign in

Set custom field label

PUT https://{organization}.myguper.com/api/register/custom-field

Sets the friendly label of a metadata key. Only the label is editable — the metaKey itself is immutable (it is the storage key) and type is inferred. If the key does not exist yet, no row is affected.

Try-it values populated from environment ACME (Demo)


Authentication

Token

Send your user token in the x-guper-authorization header.

Headers

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Request body

Content-Type: application/json

{
    "metaKey": "shirt_size",
    "label": "Shirt size"                                       // optional
}

Responses

{
    "metaKey": "shirt_size",
    "label": "Shirt size"
}
Copied to clipboard