Categorygithub.com/jc0b/go-jamf-api
repositorypackage
0.0.0-20231018133601-58a68a826479
Repository: https://github.com/jc0b/go-jamf-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Jamf API in Go

Install

import "github.com/yohan460/go-jamf-api"

Usage

sample code: examples

Get auth token in curl

$ curl -u username:password -X POST "https://xxxxx.jamfcloud.com/uapi/auth/tokens"
$ token=xxxxx
$ curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $token" "https://xxxxx.jamfcloud.com/uapi/v1/departments"