cURL
ResourceAttributeService
Post apiv1resource attribute keys
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Values become selectable enumerable options.
Available options:
RESOURCE_ATTRIBUTE_KEY_TYPE_UNSPECIFIED, RESOURCE_ATTRIBUTE_KEY_TYPE_ENUM, RESOURCE_ATTRIBUTE_KEY_TYPE_BOOLEAN, RESOURCE_ATTRIBUTE_KEY_TYPE_NUMBER, RESOURCE_ATTRIBUTE_KEY_TYPE_SET_OF_ENUM Optional initial enum values to create alongside the key. Only applicable for ENUM type keys.