curl --request POST \
--url https://api.ryvn.app/v1/orgs/{orgId}/secrets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"secrets": [
{
"name": "<string>",
"values": {
"clientId": "client-bot",
"clientSecret": "client-secret"
}
}
]
}
'{
"secrets": [
{
"name": "<string>",
"version": 123,
"keys": [
"<string>"
],
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Create one or more secrets for an organization. Each secret can contain multiple key-value pairs. Secret names must be unique within the organization.
curl --request POST \
--url https://api.ryvn.app/v1/orgs/{orgId}/secrets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"secrets": [
{
"name": "<string>",
"values": {
"clientId": "client-bot",
"clientSecret": "client-secret"
}
}
]
}
'{
"secrets": [
{
"name": "<string>",
"version": 123,
"keys": [
"<string>"
],
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the organization
Show child attributes
Secrets created successfully
Show child attributes
Was this page helpful?