PUT
/
support
/
tickets
/
v1
/
{id}
/
status
curl --request PUT \
  --url https://api.spacebring.com/support/tickets/v1/{id}/status \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "new"
}'
{
  "ticket": {
    "createDate": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "membershipRefAssignee": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "membershipRefRequester": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "number": 123,
    "status": "new",
    "type": "access",
    "updateDate": "2023-11-07T05:31:56Z",
    "userAssignee": {
      "about": "<string>",
      "email": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "phoneNumber": "<string>",
      "photoUrl": "<string>",
      "surname": "<string>"
    },
    "userRequester": {
      "about": "<string>",
      "email": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "phoneNumber": "<string>",
      "photoUrl": "<string>",
      "surname": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string

The id of the network. Required when using bearer token authentication

Path Parameters

id
string
required

The id of the ticket.

Body

application/json
status
enum<string>
required
Available options:
new,
inProgress,
solved,
closed

Response

200
application/json
OK
ticket
object