Moogsoft Docs

deleteTeam

A Graze API POST request that deletes a single team.

Back to Graze API EndPoint Reference.

Request arguments

Endpoint deleteTeam takes the following request arguments:

Name

Type

Required

Description

auth_token

String

No

A valid auth_token returned from the authenticate request. See the authenticate endpoint for more information.

team_id

String

Yes

ID of the team you want to delete.

Response

Endpoint deleteTeam returns the following response:

Examples

The following examples demonstrate typical use of endpoint deleteTeam:

Request example

Example cURL request to delete team ID 33.

curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/deleteTeam" --data-urlencode 'team_id=33'

Response example