cURL
curl --request POST \ --url https://api.devin.ai/v3beta1/organizations/{org_id}/secrets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "type": "cookie", "value": "<string>", "is_sensitive": true, "note": "<string>" } '
{ "access_type": "org", "created_at": 123, "created_by": "<string>", "is_sensitive": true, "key": "<string>", "note": "<string>", "secret_id": "<string>", "secret_type": "cookie" }
Create a secret for an organization.
ManageOrgSecrets
Service User credential (prefix: cog_)
cookie
key-value
totp
Successful Response
org
personal