Supported Formats

JSON

GET api.dmarcreport.com/v1/teams.json
List of all teams

Supported Formats

JSON

Errors

Code Description
401 Unauthorized
403 Forbidden
404 Missing
500 Server crashed for some reason

Examples

{
  "teams": [{
    "id": 7,
    "name": "adfgg",
    "created_at": "2019-11-06T13:46:07.862Z",
    "updated_at": "2019-11-06T13:46:07.862Z"
  }, {
    "id": 8,
    "name": "qw",
    "created_at": "2019-11-07T13:43:09.088Z",
    "updated_at": "2019-11-07T13:43:09.088Z"
  }, {
    "id": 6,
    "name": "we",
    "created_at": "2019-11-06T13:44:38.818Z",
    "updated_at": "2019-11-08T10:28:34.567Z"
  }, {
    "id": 12,
    "name": "qwertyui",
    "created_at": "2019-11-19T14:52:31.747Z",
    "updated_at": "2019-11-19T14:52:31.747Z"
  }]
}

POST api.dmarcreport.com/v1/teams.json
Creates a new team

Supported Formats

JSON

Errors

Code Description
401 Unauthorized
403 Forbidden
404 Missing
500 Server crashed for some reason

Params

Param name Description
team
required

Validations:

  • Must be a Hash

team[name]
required

Name of your team

Validations:

  • Must be a String


PUT api.dmarcreport.com/v1/teams/:id.json
Updates your team

Supported Formats

JSON

Errors

Code Description
401 Unauthorized
403 Forbidden
404 Missing
500 Server crashed for some reason

Params

Param name Description
team
required

Validations:

  • Must be a Hash

team[name]
required

Name of your team

Validations:

  • Must be a String


DELETE api.dmarcreport.com/v1/teams/:id.json
Delete your team

Supported Formats

JSON

Errors

Code Description
401 Unauthorized
403 Forbidden
404 Missing
500 Server crashed for some reason