Skip to main content
POST
/
console
/
v1
/
unit_id_types
Create Unit ID Type
curl --request POST \
  --url https://statsigapi.net/console/v1/unit_id_types \
  --header 'Content-Type: application/json' \
  --header 'STATSIG-API-KEY: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'
{
  "message": "Unit ID Type created successfully.",
  "data": {
    "name": "newTestID",
    "description": "My new test ID type."
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Body

application/json
name
string
required

The name of the unit id type.

description
string

The description of the unit id type.

Response

Create Unit ID Type Response

message
string
required

A simple string explaining the result of the operation.

data
object
required

A single result.

I