zklogin.clientRemove
Remove a client id from your account.
Details
- Endpoint
- DELETE /v1/zklogin/clients/:clientId
- Credits
- Free
- Rate class
- Light. Counts against your light requests per second.
Stops accepting JWTs for this client id with your key. Imported salts are kept, so registering it again brings them back. Free.
Parameters
| Name | Type | Description |
|---|---|---|
| clientIdrequired | string | |
| iss | string |
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl
curl -X DELETE "https://api.tide.ad/v1/zklogin/clients/1234567890-abc.apps.googleusercontent.com" \
-H "x-api-key: YOUR_API_KEY"TypeScript
const res = await fetch("https://api.tide.ad/v1/zklogin/clients/1234567890-abc.apps.googleusercontent.com", {
method: "DELETE",
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
},
});
const data = await res.json();Response
JSON
{
"removed": true
}