Update an existing app resource.
cURL
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>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the resource.
The type of the resource.
The name of the resource.
A description of the resource.
The external ID of the resource (optional).
Success
The updated resource.
Show child attributes
The ID of the app instance that the resource belongs to.
The external ID of the resource.
Was this page helpful?