List accounts
Retrieve the customer accounts visible to the caller.
HTTP request
GET /api/now/v1/account
Path parameters
None.
Query parameters
None.
Request body
Don't supply a request body for this method.
Response
AccountCollectionResponse — a collection envelope of *AccountModel.
Example
response, err := client.Now().Account().Get(ctx, nil)
if err != nil {
log.Fatal(err)
}