Delete another user's Google Earth Engine credentials (Admin only).

Authentication: JWT token required Authorization: ADMIN or SUPERADMIN role required

Path Parameters:

  • user_id: Target user's ID (string or integer)

Response Schema:

{
  "message": "GEE credentials deleted for user user@example.com"
}

What Gets Deleted:

  • All OAuth tokens (access and refresh tokens)
  • Service account credentials
  • Credentials type and metadata
  • All encrypted credential data is permanently removed

Admin Use Cases:

  • Revoke access for users leaving the organization
  • Clean up expired or compromised credentials
  • Force credential refresh by removing and re-adding
  • Audit and compliance requirements

Security & Audit:

  • Admin action is logged with both admin and target user details
  • Irreversible operation - credentials cannot be recovered
  • User will need to reconfigure GEE credentials to regain access

Error Responses:

  • 401 Unauthorized: JWT token required or invalid
  • 403 Forbidden: Admin access required
  • 404 Not Found: Target user not found or user has no GEE credentials
  • 500 Internal Server Error: Failed to delete credentials
delete/api/v1/user/{user_id}/gee-credentials

Path parameters

user_idstring required

Path parameter: user_id

Response

Success

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.