checkSecretProvider
POST
/api/v1/secret-providers/{name}/check
const url = 'https://example.com/api/v1/secret-providers/example/check';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"ref":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/secret-providers/example/check \ --header 'Content-Type: application/json' \ --data '{ "ref": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”name
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
ref
required
string
key
additional properties
any
Examplegenerated
{ "ref": "example"}Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
message
string
status
required
string
key
additional properties
any
Example
{ "status": "ok"}default
Section titled “default”Error
Media typeapplication/json
object
error
required
object
code
required
string
details
message
required
string
key
additional properties
any
key
additional properties
any
Examplegenerated
{ "error": { "code": "example", "details": "example", "message": "example" }}