GamebeastDocs
Dashboard
Project APIConfigurations

Delete configuration enum

DELETE
/application/{applicationId}/v2/configuration-enums/{enumId}

Delete an enum. Returns 409 while any key is still bound to it.

Authorization

personalAccessTokenAuth
AuthorizationBearer <token>

Personal access token (prefixed gb_pat_). Acts on behalf of its owner and can never exceed the owner's own permissions. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

applicationId*number
enumId*integer
Range0 < value <= 9007199254740991

Header Parameters

environment_id*number

Gamebeast environment ID

Response Body

application/json

curl -X DELETE "https://example.com/application/0/v2/configuration-enums/1" \  -H "environment_id: 0"
{  "id": 0,  "applicationId": 0,  "environmentId": 0,  "name": "string",  "description": "string",  "valueType": "string",  "members": [    {      "value": "string",      "label": "string",      "description": "string"    }  ],  "color": "string",  "icon": "string",  "configurationId": 0,  "createdAt": "string",  "updatedAt": "string"}