segmentDelete - admin-graphql - MUTATION
Version: 2024-01
Description:
Deletes a segment.
Access Scopes
`write_customers` access scope. Also: The user must not have restricted access.
Arguments
-
id:
ID! -
Specifies the segment to delete.
Returns
-
deletedSegmentId:
ID
ID of the deleted segment.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples