PATCH
/
v1
/
teams
/
{team_id}
/
app-instances
/
{app_instance_id}
Update App Instance
curl --request PATCH \
  --url https://public.api.serval.com/v1/teams/{team_id}/app-instances/{app_instance_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "defaultAccessPolicyId": "<string>"
}'
{
  "appInstance": {
    "id": "<string>",
    "teamId": "<string>",
    "service": "<string>",
    "instanceId": "<string>",
    "name": "<string>",
    "accessRequestsEnabled": true,
    "defaultAccessPolicyId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string
required

The ID of the Serval team.

app_instance_id
string
required

The ID of the app instance to update.

Body

application/json

Response

200
application/json

Success

The response is of type object.