Skip to main content
PUT
/
v2
/
app-resources
/
{id}
Update App Resource
curl --request PUT \
  --url https://public.api.serval.com/v2/app-resources/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "resourceType": "<string>",
  "name": "<string>",
  "description": "<string>",
  "externalId": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "appInstanceId": "<string>",
    "resourceType": "<string>",
    "name": "<string>",
    "description": "<string>",
    "externalId": "<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 resource.

Body

application/json
resourceType
string

The type of the resource.

name
string

The name of the resource.

description
string

A description of the resource.

externalId
string | null

The external ID of the resource (optional).

Response

Success

data
object

The updated resource.

I