Skip to main content
PUT
/
v2
/
app-instances
/
{id}
Update App Instance
curl --request PUT \
  --url https://public.api.serval.com/v2/app-instances/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "instanceId": "<string>",
  "name": "<string>",
  "defaultAccessPolicyId": "<string>",
  "accessRequestsEnabled": true
}'
{
  "data": {
    "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

id
string
required

The ID of the app instance.

Body

application/json
instanceId
string

The instance ID of the app instance.

name
string

The name of the app instance.

defaultAccessPolicyId
string | null

The default access policy for the app instance (optional).

accessRequestsEnabled
boolean

Whether access requests are enabled for the app instance.

Response

Success

data
object

The updated app instance.