Skip to main content
POST
/
environments
/
{environmentId}
/
waas
/
verifyApiKey
Verify if an API key is valid for a specific environment
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/verifyApiKey \
  --header 'Authorization: Bearer <token>'
{
  "environmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "verified": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Response

API key verification result

environmentId
string<uuid>
required

The environment ID for which the API key was verified

verified
boolean
required

Indicates whether the API key is valid and has access to the environment