Remove service from group
const url = 'https://api-uat.flinkey.de/v3/groups/1/services/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/services/1 \ --header 'Authorization: Bearer <token>' \ --header 'Customer-ID: example' \ --header 'flinkey-API-Key: <flinkey-API-Key>'Purpose
Remove one specific service from one specific group. This changes group membership only; it does not terminate the service, unlink it from a product or change vehicle access assignments.
Validation notes
- PROD returned
204 No Contentwith an empty response body. - A subsequent
GET /groups/{groupId}/servicesreturned200 OKwith an empty array. - The test group was later deleted after all remaining relations had been removed.
Async behavior
Synchronous. No webhook is produced.
Security notes
Never log the API key, bearer token or full request headers. Group and service IDs are environment-specific.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Database ID of the group
Database ID of the service
Header Parameters
Section titled “Header Parameters”Customer database ID
Responses
Section titled “Responses”Service membership was removed successfully
Credentials or token are invalid
Recommended handling: Check API key, bearer token and environment
Customer context, group, service or membership was not found
Recommended handling: Reconcile group membership and identifiers before retrying
Server-side error
Recommended handling: Retry later if appropriate and escalate if persistent
