Create Bolt
POST
/v1/boltsCreate a new free trial Bolt.
Request
Query Params
bolt-only
boolean
optional
Default:
true
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Body Params application/json
data
object
required
attributes
object
required
Example
{
"data": {
"attributes": {
"name": "My new awesome bolt",
"cmsId": 5006,
"location": "Oslo"
}
}
}
Request samples
Responses
Parameter Error(422)
Created(201)
HTTP Code: 422
Content Type : JSONapplication/json
Data Schema
errors
array [object {4}]
required
title
string
required
detail
string
required
code
integer
required
source
object
required
Example
{
"errors": [
{
"title": "Invalid input",
"detail": "The data.attributes.name field is required.",
"code": 422,
"source": {
"pointer": "/data/attributes/name"
}
},
{
"title": "Invalid input",
"detail": "The data.attributes.cms id field is required.",
"code": 422,
"source": {
"pointer": "/data/attributes/cmsId"
}
},
{
"title": "Invalid input",
"detail": "The data.attributes.location field is required.",
"code": 422,
"source": {
"pointer": "/data/attributes/location"
}
}
]
}
Last modified: 2 months ago