capabilities.work

Create and Tag Endpoint

A 4-step recipe with emnify. We can help you get access.

Recipe · 4 steps

Create and Tag Endpoint

with emnify

Create a tag and a new endpoint, then attach the tag to the endpoint.

  1. Exchange the application token for an auth_token used as a Bearer token.
  2. Create a tag with the supplied name and optional color.
  3. Create a new endpoint with the supplied service and tariff profiles.
  4. Assign the newly created tag to the newly created endpoint.
What you'll need to have ready
  • applicationToken: emnify application token used to obtain an auth_token.
  • tagName: The name of the tag to create.
  • colorId: Optional tag color ID; a random color is used if omitted.
  • endpointName: Display name for the new endpoint.
  • serviceProfileId: Service profile ID for the new endpoint.
  • tariffProfileId: Tariff profile ID for the new endpoint.
  • statusId: Initial endpoint status ID.
For your developer

Arazzo workflow emnify:create-and-tag-endpoint, 4 operations: authenticate → create-tag → create-endpoint → assign-tag-to-endpoint. Specs on APIs.io.