Skip to content

Remove service from group

DELETE
/groups/{groupId}/services/{serviceId}
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 Content with an empty response body.
  • A subsequent GET /groups/{groupId}/services returned 200 OK with 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.

groupId
required
integer

Database ID of the group

serviceId
required
integer

Database ID of the service

Customer-ID
required
string

Customer database ID

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