Skip to main content
PATCH
/
console
/
v1
/
unit_id_types
/
{id}
Update Unit ID Type
curl --request PATCH \
  --url https://statsigapi.net/console/v1/unit_id_types/{id} \
  --header 'Content-Type: application/json' \
  --header 'STATSIG-API-KEY: <api-key>' \
  --data '{
  "description": "<string>"
}'
{
  "message": "Unit ID Type updated successfully.",
  "data": {
    "name": "testID",
    "description": "My new description of my ID type."
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Path Parameters

id
string
required

id

Body

application/json
description
string
required

The description of the unit id type.

Response

Update Unit ID Type Response

message
string
required

A simple string explaining the result of the operation.

data
object
required

A single result.

I