Body
This is the ID of the secret to be created.
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request PUT 'https://api.stateset.com/v1/secrets' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"success": 123
}This endpoint create new secret
curl --location --request PUT 'https://api.stateset.com/v1/secrets' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"success": 123
}curl --location --request PUT 'https://api.stateset.com/v1/secrets' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'