Deletes a specified . You must delete all enrollment automations associated with a before .
POST /user_identities/enrollment_automations/delete ⇒ void
Authentication Methods
Personal access token
Must also include the seam-workspace
header in the request.
To learn more, see .
Request Parameters
enrollment_automation_id
String (Required)
ID of the desired enrollment automation.
Response
void
Examples
Delete an enrollment automation
Specify the desired enrollment_automation_id
.
Code
await seam.userIdentities.enrollmentAutomations.delete({
enrollment_automation_id: "05505650-aa57-49ab-8f19-429738758895",
});
Output
Code
seam.user_identities.enrollment_automations.delete(
enrollment_automation_id="05505650-aa57-49ab-8f19-429738758895"
)
Output
Code
seam.user_identities.enrollment_automations.delete(
enrollment_automation_id: "05505650-aa57-49ab-8f19-429738758895",
)
Output
Code
<?php
$seam->user_identities->enrollment_automations->delete(
enrollment_automation_id: "05505650-aa57-49ab-8f19-429738758895"
);
Output
Code
seam user-identities enrollment-automations delete --enrollment_automation_id "05505650-aa57-49ab-8f19-429738758895"
Output
Code
package main
import api "github.com/seamapi/go"
import enrollmentautomations "github.com/seamapi/go/enrollmentautomations"
func main() {
client.UserIdentities.EnrollmentAutomations.Delete(
context.Background(),
enrollmentautomations.EnrollmentAutomationsDeleteRequest{
EnrollmentAutomationId: api.String("05505650-aa57-49ab-8f19-429738758895"),
},
)
}
Output
Code
curl --include --request POST "https://connect.getseam.com/user_identities/enrollment_automations/delete" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"enrollment_automation_id": "05505650-aa57-49ab-8f19-429738758895"
}
EOF
Output