Authorization: Bearer ********************
{
"data": {
"attributes": {
"boltId": 8988,
"title": "new awesome environment"
}
}
}
curl --location --request POST 'https://api.servebolt.io/v1/environments' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"attributes": {
"boltId": 8988,
"title": "new awesome environment"
}
}
}'
{
"errors": [
{
"title": "Invalid input",
"detail": "The data.attributes.bolt id field is required.",
"code": 422,
"source": {
"pointer": "/data/attributes/boltId"
}
},
{
"title": "Invalid input",
"detail": "The data.attributes.title field is required.",
"code": 422,
"source": {
"pointer": "/data/attributes/title"
}
}
]
}