I am writing a PowerShell script to create Network Segment addresses. I can successfully get an authentication token, but I do not see how to use it when performing a POST to /domain/{domainId}/networksegment/{networkSegmentId}/address. I get a 401 unauthorized response.
What do I need to do to leverage my auth token in subsequent calls?
Thanks,
Aaron