deploy.login-gate.revoke-sessionsSign everyone out of an app’s login gate
Request syntax
POST /deploy/api/apps/{id}/login-gate/revoke-sessionsPath parameters
idRequiredstring
Constraints: uuid
Response
200 with `data`: the gate with its new epoch. Every session ends on the machines’ next poll, within seconds. 409 when the app does not require sign-in.
A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.
Fields of data
appIdAlwaysstring
The appenabledAlwaysboolean
Whether the app requires sign-in on every hostnameproviderAlwaysone of console, oidc, token, may be null
console accounts, your OpenID Connect provider, or tokens your own keys sign; null while offtokenJwksAlwaysstring, may be null
provider token: the registered public keys (JWKS)tokenCookieAlwaysstring, may be null
provider token: the cookie the token is read fromtokenIssuerAlwaysstring, may be null
provider token: the required iss; null = anytokenAudienceAlwaysstring, may be null
provider token: the required aud; null = anyredirectUrlAlwaysstring, may be null
provider token: where a browser without a valid token is sent (with return_to)oidcIssuerAlwaysstring, may be null
provider oidc: the issuer URLoidcClientIdAlwaysstring, may be null
provider oidc: the client IDoidcClientSecretSetAlwaysboolean
A client secret is stored (it is never returned)allowedEmailDomainsAlwaysarray of string
Admitted email domains, exact; empty = anywebhookUrlAlwaysstring, may be null
The access webhook, if anywebhookSecretSetAlwaysboolean
A webhook secret is stored (it is never returned)sessionHoursAlwaysnumber, may be null
How long a sign-in lastsexceptionsAlwaysarray of string
Path prefixes served without sign-inepochAlwaysnumber
Raised by revoke-sessions and by changes of who may sign in; older sessions endupdatedAtAlwaysstring, may be null
When the gate was last changed; null for neverredirectUriAlwaysstring
The redirect URI to register at your identity provider (the same for every app)issuerAlwaysstring
The `iss` of the identity tokenjwksUrlAlwaysstring
Where the keys that verify the identity token are publishedidentityHeaderAlwaysstring
The request header the app receives the token inemailHeaderAlwaysstring
The request header with the signed-in email, for conveniencesignOutPathAlwaysstring
Open this path on any hostname of the app to sign out
Checked against the handlers: every route test validates their answers against this schema.
Errors
- 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
- 401No credentials, or an access key that is unknown, revoked or expired.
- 403The caller's policies do not allow deploy:RevokeLoginGateSessions on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
- 404The resource does not exist in your organization.
Examples
The required parameters only, with example values. Replace id and the other placeholders with your own.
dcloud deploy login-gate revoke-sessions idcurl -X POST "https://console.platform.deutschecloud.app/deploy/api/apps/id/login-gate/revoke-sessions" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY"import { DcloudClient } from '@dcloud/sdk';
const client = new DcloudClient();
const result = await client.deploy.loginGate.revokeSessions({ id: "id" });from dcloud import Client
client = Client()
result = client.deploy.login_gate.revoke_sessions(id="id")Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_deploy_login-gate_revoke-sessions.