Skip to Content
put.ioDevelopers
Register an app

Set a value

PUThttps://api.put.io/v2/config/{key}

Sets one key. The value can be any JSON value. Form-encoded bodies store value as a string. Keep it under 2 KB; the server does not enforce this yet.

Path

keystringRequired

list is reserved: GET /config/list is not a key read.

Body

application/json

valueobjectRequired

Any JSON value. Null when the key is not set.

statusstring

Returns

200

statusstring

Errors

JSON with error_type, error_message, error_id and extra.

400Missing value field, or the token is not bound to an OAuth app.
429Rate limited