Create Unit ID Type

Reference for the POST /console/v1/unit_id_types endpoint of the Statsig API.

posthttps://statsigapi.net/console/v1/unit_id_types

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Body

application/json
namestringrequired

The name of the unit id type.

descriptionstring

The description of the unit id type.

Response

application/json
201· Create Unit ID Type Response
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
namestringrequired

The name of the unit id type.

descriptionstring

The description of the unit id type.

400· Invalid request. Please check the request input and try again.
statusintegerrequired
Allowed values:400
messagestringrequired
401· This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
Allowed values:401
messagestringrequired

Was this helpful?