Saltar al contenido principal
PUT
Update a Data Key

Autorizaciones

Authorization
string
header
requerido

API key en el header Authorization: Basic TU_API_KEY. La key va tal cual, sin codificar en base64. Las credenciales se entregan al comenzar la integración.

Parámetros de ruta

id
integer
requerido

Identifier of the Data Key you'd like to update.

Cuerpo

application/json
name
string

The name of the data key. Must be unique. Names must be no longer than 32 characters.

Ejemplo:

"my_string"

type
string

The type of key (STRING, NUMBER, DATE, DATETIME, TIME).

Ejemplo:

"STRING"

Respuesta

default - application/json

successful operation

object
string

A string denoting the current resource being requested or affected.

Ejemplo:

"data_key"

self
string

The relative URL of the current resource being requested or affected.

Ejemplo:

"/v2/data-keys/1234"

id
integer
read-only

The current resource identifier (ID).

Ejemplo:

1234

name
string

The name of the data key. Must be unique. Names must be no longer than 32 characters.

Ejemplo:

"my_string"

type
string

The type of key (STRING, NUMBER, DATE, DATETIME, TIME).

Ejemplo:

"STRING"

in_use
boolean
read-only

Whether or not the data key is being used by a data key target. If the key is being used it cannot be modified or deleted.

Ejemplo:

true