All URIs are relative to https://<sub_domain>.api.kandji.io
Method | HTTP request | Description |
---|---|---|
listSelfServiceCategories | GET /api/v1/self-service/categories | List Self Service Categories |
open class func listSelfServiceCategories(completion: @escaping (_ data: AnyCodable?, _ error: Error?) -> Void)
List Self Service Categories
This endpoint retrieves a list of self-service categories and their associated IDs.
If you are planning to make a Library item available in Self Service under a specific category, you can call this endpoint to get the category ID and then use that ID when creating or updating the library item via the Kandji API.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import kandji_sdk
// List Self Service Categories
SelfServiceAPI.listSelfServiceCategories() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
This endpoint does not need any parameter.
AnyCodable
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]