Revoke a human-user enrollment
DELETE /v1/users/{userId}/enrollments/{enrollmentId}: Permanently revokes one outstanding enrollment after requiring MANAGE_USER_ENROLLMENT on its target user.
Permanently revokes one outstanding enrollment after requiring MANAGE_USER_ENROLLMENT on its target user. Repeating an authorized revocation succeeds without replacing its original audit provenance. Consumed enrollments cannot be revoked.
ApiKeyAuthx-api-key<token>userId*stringHuman-user UUID
enrollmentId*stringEnrollment UUID
GoodMem-Timeout-Ms?integerOptional waiting budget in milliseconds, measured from REST servlet ingress and shared across all internal gRPC calls. Supply one decimal integer from 1 to 86400000. Omission adds no deadline. Existing shorter deadlines still apply. Expiry returns HTTP 504 before streaming starts; after streaming starts, no successful completion event is sent. Use SSE or opt into GoodMem-Stream-Terminal for an explicit terminal outcome. Retrieval work is cooperatively cancelled. An accepted mutation may still commit after timeout or disconnect; a failed response does not imply rollback.
int641 <= value <= 86400000Enrollment revoked or already revoked
curl -X DELETE 'https://your-goodmem-server.example.com/v1/users/70e025f6-76ca-4cbe-b8fc-7dab8e84590a/enrollments/0198b9f4-c42f-7ae3-8c56-44d827ea03bd' \ -H 'GoodMem-Timeout-Ms: 30000'