curl --request POST \
--url https://dev.seqhq.io/api/seat-metrics \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"seatType": "admin",
"description": "Allows user to make admin changes over whole account",
"label": "Administrator"
}
'{
"id": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"seatType": "admin",
"createdBy": "4ffd439e-32e5-4046-bb40-3cb81f40e5da",
"label": "Administrator",
"description": "Allows user to make admin changes over whole account",
"createdAt": "2022-06-28T16:47:00Z",
"updatedAt": "2022-06-28T16:47:00Z"
}Create a new seat metric which can be used in prices.
curl --request POST \
--url https://dev.seqhq.io/api/seat-metrics \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"seatType": "admin",
"description": "Allows user to make admin changes over whole account",
"label": "Administrator"
}
'{
"id": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"seatType": "admin",
"createdBy": "4ffd439e-32e5-4046-bb40-3cb81f40e5da",
"label": "Administrator",
"description": "Allows user to make admin changes over whole account",
"createdAt": "2022-06-28T16:47:00Z",
"updatedAt": "2022-06-28T16:47:00Z"
}Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
2024-07-30 E.g. admin_user. An immutable, unique value used to identify and refer to this seat type. It should be lower snakecase
"admin"
Friendly, customer-facing name for this seat metric.
"Administrator"
Optional description for this seat metric.
"Allows user to make admin changes over whole account"
Created
Unique ID for this seat metric.
"bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730"
Immutable, unique value used to identify and refer to this seat type when submitting events.
"admin"
Friendly, customer-facing name for this seat metric.
"Administrator"
The time at which this seat metric was created. Formatted as an ISO 8601 timestamp.
"2022-06-28T16:47:00Z"
The time at which this seat metric was updated. Formatted as an ISO 8601 timestamp.
"2022-06-28T16:47:00Z"
The ID of the Sequence user who created this seat metric.
"4ffd439e-32e5-4046-bb40-3cb81f40e5da"
Optional description for this seat metric.
"Allows user to make admin changes over whole account"