v2 - Agents

Update Agent

Update an agent's scopes, name, or status.

Only the owner can update their agents, signed in as themselves: an agent key is refused, and asking to turn the splits permission on says why.

patch/v2/agents/{agent_id}

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Request body

namestring nullable
scopesobject nullable
is_trusted_publishboolean nullable

Allow this agent to use publish:execute and publish:schedule scopes.

statusstring nullable

Set to 'revoked' to revoke

limits_overrideobject nullable

Response

Successful Response

agent_idstring required
namestring required
owner_profile_idstring required
statusstring required
scopesobject required
is_trusted_publishboolean required
limits_overrideobject nullable
created_atstring required
revoked_atstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.