GET
/
community
/
memberships
/
v1
/
deleted
curl --request GET \
  --url https://api.spacebring.com/community/memberships/v1/deleted \
  --header 'Authorization: Basic <encoded-value>'
{
  "memberships": [
    {
      "companyRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createDate": "2023-11-07T05:31:56Z",
      "deleteDate": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "invitationDate": "2023-11-07T05:31:56Z",
      "locationRef": "<string>",
      "metadata": {},
      "notes": "<string>",
      "role": "member",
      "status": "requested",
      "subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "member",
      "user": {
        "about": "<string>",
        "email": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "phoneNumber": "<string>",
        "photoUrl": "<string>",
        "surname": "<string>"
      },
      "userRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "nextPageToken": "<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

Query Parameters

locationRef
string
required

The id of the location.

limit
integer
default:25

The number of items to return

Required range: 1 <= x <= 100
userEmail
string

Filter by user's email

nextPageToken
string

nextPageToken retrieved from a previous request

Response

200
application/json
OK
memberships
object[]
nextPageToken
string