Remove user from group
const url = 'https://api-uat.flinkey.de/v3/groups/1/users/1';const options = { method: 'DELETE', headers: { 'Customer-ID': 'example', 'flinkey-API-Key': '<flinkey-API-Key>', Authorization: 'Bearer <token>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api-uat.flinkey.de/v3/groups/1/users/1 \ --header 'Authorization: Bearer <token>' \ --header 'Customer-ID: example' \ --header 'flinkey-API-Key: <flinkey-API-Key>'Purpose
Remove one specific user from one specific group in the selected customer context.
A group is an entity represented by a group ID.
A group can contain cars, users, services and products.
Use this operation for operational grouping workflows where a user must be removed from an existing group.
This operation changes group membership only.
It does not delete the user.
It does not remove assignments.
It does not revoke vehicle access rights.
When to use this operation
Use this operation when the partner backend or operational backend needs to remove a user from a group.
Typical situations:
- removing a user from an operational group,
- correcting group membership after reconciliation,
- cleaning up group membership after customer-side changes,
- maintaining group-based operational views,
- removing a user from a support or setup group,
- preparing a group for deletion.
Before removing a user from a group, the partner backend should have resolved:
- the correct
Customer-ID, - the flinkey
groupId, - the flinkey
userId, - whether the group exists,
- whether the user exists,
- whether the user is currently assigned to the group.
For standard access flows, partner backends usually work primarily with Car, User and Assignment.
Group membership is an operational grouping concept and should not be treated as the primary vehicle access permission.
Access permissions are managed through assignments between User and Car.
Validation notes
- PROD returned
204 No Contentwith an empty body. A control GET returned an empty user array.
Async behavior
Synchronous.
The removal result is represented by the API response.
Webhook result
No.
This operation does not produce a webhook result.
Removing a user from a group does not trigger assignment lifecycle webhooks.
If vehicle access must be removed, use the appropriate assignment operation.
Security notes
Never log:
flinkey-API-Key,- bearer token,
- full request headers.
Group and user identifiers are environment-specific.
Do not mix UAT and PROD group IDs or user IDs.
Use placeholders in documentation, examples, screenshots and AI prompts.
For standard partner integrations, the mobile app must not receive API Manager credentials, backend bearer tokens or the flinkey-API-Key.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Database ID of the group
Database ID of the user
Header Parameters
Section titled “Header Parameters”Customer database ID
Responses
Section titled “Responses”User was removed from the group successfully
Invalid subscription key or missing / invalid access token
Recommended handling: Check flinkey-API-Key, bearer token and environment configuration
API Manager, customer context, group, user or group membership was not found
Recommended handling: Check credentials, token context, Customer-ID, local groupId mapping, local userId mapping and current group membership
Server-side error
Recommended handling: Retry later if appropriate and escalate if persistent
