Test 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)
Prerequisites:
- Target user must have GEE credentials configured
Response Schema (Success):
{
"message": "GEE credentials for user user@example.com are valid and working"
}
What This Tests:
- Initializes Google Earth Engine with the user's credentials
- Verifies credentials are not expired
- Confirms GEE API access is working
- Validates credential format and permissions
Admin Use Cases:
- Validate credentials after setup/update
- Troubleshoot user access issues
- Periodic credential health checks
- Pre-execution validation for GEE scripts
Error Responses:
- 400 Bad Request: No GEE credentials or credentials are invalid/expired
- 401 Unauthorized: JWT token required or invalid
- 403 Forbidden: Admin access required
- 404 Not Found: Target user not found
- 500 Internal Server Error: Failed to test credentials
post/api/v1/user/{user_id}/gee-credentials/test
Path parameters
user_idstring required
Path parameter: user_id
Request body
object required
Response
Success
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.