revokeSigningKeys

@POST(value = "api/auth/revoke-signing-keys")
abstract suspend fun revokeSigningKeys()

POST api/auth/revoke-signing-keys Revoke auth token signing keys Revokes the existing auth token signing keys, and creates a new one. Requires the `Administer Develocity` permission. All existing access tokens will become invalid. Develocity may take a few minutes to revoke all existing access tokens. Responses:

  • 200: The existing signing keys have been revoked, all access tokens will become invalid shortly

  • 400: The request cannot be fulfilled due to a problem.

  • 403: The authenticated user has insufficient permissions.

  • 404: The referenced resource either does not exist or the permissions to know about it are missing.

  • 500: The server encountered an unexpected error.

Return

Unit