v1

latestOpenAPI 3.0.32026-07-24198357534.7 KB
Utility

Edit a key/value

Replaces the KeyValue resource.

put/keyvalues/{id}

Path parameters

idstring required

Resource identifier

Request body

valuestring required

TODOSWAGGER

isPublicboolean nullable

If a key/value is declared as "public", access will be available to this resource with the verb GET and without any authentication. Otherwise, an oAuth token will be required.

Example request

{
  "value": "RAW VALUE OR JSON CONTENT"
}

Response

KeyValue resource updated

valuestring required

TODOSWAGGER

isProtectedboolean nullable

If a key/value is declared as "protected", no update will be authorized unless it is done by a super admin account.

isPublicboolean nullable

If a key/value is declared as "public", access will be available to this resource with the verb GET and without any authentication. Otherwise, an oAuth token will be required.

idstring required

This is the unique identifier of the resource

dateModifiedstring date-time nullable

This is an ISO datetime

dateCreatedstring date-time nullable

This is an ISO datetime

Example response

{
  "value": "RAW VALUE OR JSON CONTENT",
  "id": "identifier_example"
}