API authentication failure. See Get started for guidance on how to correctly set up your API hostname token.
This is an example of a typical 401 error response you would encounter when making a GET request to /sla-api/v1/tests
.
{
"status":401,
"type":"/sla-api/v1/errors/not-authorized",
"title":"not authorized",
"detail":"one or more test ids provided you dont have access to",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
This is an example of a typical 401 error response you would encounter when making a DELETE request to/sla-api/v1/tests{?slaTestId}
.
{
"status":401,
"type":"/sla-api/v1/errors/not-authorized",
"title":"not authorized",
"detail":"you dont have access to this test id",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
This is an example of typical 401 error response you would encounter when making a PUT request to/sla-api/v1/tests{?slaTestId}
.
{
"status":401,
"type":"/sla-api/v1/errors/not-authorized",
"title":"not authorized",
"detail":"you dont have access to this test id",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
This is an example of a typical 401 error response you would encounter when making a GET request to/sla-api/v1/tests{?slaTestId}
.
{
"status":401,
"type":"/sla-api/v1/errors/not-authorized",
"title":"not authorized",
"detail":"you dont have access to this test id",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
This is an example of typical 401 error response you would encounter when making a GET request to/sla-api/v1/tests/{slaTestId}/reports/performance{?start,end}
.
{
"status":401,
"type":"/sla-api/v1/errors/not-authorized",
"title":"not authorized",
"detail":"you dont have access to this test id",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}
This is an example of typical 401 error response you would encounter when making a GET request to/sla-api/v1/tests/{slaTestId}/reports/availability{?start,end}
.
{
"status":401,
"type":"/sla-api/v1/errors/not-authorized",
"title":"not authorized",
"detail":"you dont have access to this test id",
"instance":"ea4afa39-29f1-4213-9d83-0a6b73a26edf"
}