PUT
/
support
/
tickets
/
v1
/
{id}
/
status
Update support ticket 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 '{
  "ticket": {
    "status": "new"
  }
}'
{
  "activity": {
    "createDate": "2023-11-07T05:31:56Z",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "membership": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "roleType": "<string>",
      "type": "<string>",
      "user": {
        "blocked": true,
        "email": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "phoneNumber": "<string>",
        "photoUrl": "<string>",
        "surname": "<string>"
      }
    },
    "ticketRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "comment",
    "data": {
      "attachments": [
        {
          "key": "<string>"
        }
      ],
      "text": "<string>",
      "status": "<string>",
      "membershipAssignee": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "roleType": "<string>",
        "type": "<string>",
        "user": {
          "blocked": true,
          "email": "<string>",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "phoneNumber": "<string>",
          "photoUrl": "<string>",
          "surname": "<string>"
        }
      },
      "previousAttributes": {
        "status": "<string>",
        "membershipAssignee": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "roleType": "<string>",
          "type": "<string>",
          "user": {
            "blocked": true,
            "email": "<string>",
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "name": "<string>",
            "phoneNumber": "<string>",
            "photoUrl": "<string>",
            "surname": "<string>"
          }
        }
      }
    }
  },
  "ticket": {
    "createDate": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "membershipAssignee": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "roleType": "<string>",
      "type": "<string>",
      "user": {
        "blocked": true,
        "email": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "surname": "<string>",
        "phoneNumber": "<string>",
        "photoUrl": "<string>"
      }
    },
    "membershipRequester": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "roleType": "<string>",
      "type": "<string>",
      "user": {
        "blocked": true,
        "email": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "surname": "<string>",
        "phoneNumber": "<string>",
        "photoUrl": "<string>"
      }
    },
    "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

Response

200
application/json

OK

The response is of type object.