Skip to main content
POST
Create or update an encrypted secret

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Body

application/json
name
string
required

Uppercased to [A-Z0-9_]+ server-side.

value
string
required
scope
string
default:all
category
string
default:provider
description
string
orgWide
boolean

Create as org-shared secret (admin only).

Response

Updated.