Guest User

Untitled

a guest
Nov 17th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. curl -X POST 'https://api.keygen.sh/v1/accounts/example/machines'
  2. -H 'Content-Type: application/vnd.api+json'
  3. -H 'Accept: application/vnd.api+json'
  4. -H 'Authorization: Bearer {TOKEN}'
  5. -d '{
  6. "data": {
  7. "type": "machines",
  8. "attributes": {
  9. "fingerprint": "{MAC_ADDRESS_FINGERPRINT}",
  10. "platform": "Windows",
  11. "name": "Office Laptop"
  12. },
  13. "relationships": {
  14. "license": {
  15. "data": {
  16. "type": "licenses",
  17. "id": "4097d726-6cc5-4156-8575-3a96387e19b4"
  18. }
  19. }
  20. }
  21. }
  22. }'
Add Comment
Please, Sign In to add comment