PATCH
/
spaces
/
{owner}
/
{space}
/
config
curl --request PATCH \
  --url https://api.loccus.ai/v1/spaces/{owner}/{space}/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "audioFileRetention": "P14D"
}'
{
  "audioFileRetention": "P14D"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

owner
string
required

The handle of the owner.

space
string
required

The handle of the space.

Body

application/json
audioFileRetention
string
required

The duration of the new binary file retention policy for audios in the space.

Response

200 - application/json
audioFileRetention
string
required

The duration of the binary file retention policy for audios in the space.