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" }
Créer un secret pour une organisation.
ManageOrgSecrets
Identifiant de compte de service (préfixe : cog_)
cookie
key-value
totp
Réponse réussie
org
personal