Api >

Service Portal REST API

DELETE the whole list of one Phone Book's entry Phone Extension visibilities
Given I am authenticated as customer K0002
and there is a Phone Book with
  • id: 100
  • number: +49 (66) 1234-555
  • name: Phone Book
And it is visible for:
  • a Phone Extension with extension number 555 and display name Extension1
  • another Phone Extension with extension number 777 and display name Extension2
When I send /api/customers/K0002/phone-books/100/visibilities
Then I should receive HTTP/1.1 204 No Content
Missing Phone Book
Given I am authenticated as customer K0002
And there is no Phone Book with ID 404 When I send /api/customers/K0002/phone-books/404/visibilities
Then I should receive HTTP/1.1 404 Not Found
{
  "detail": "Phone Book with ID 404 has not been found",
  "title": "Phone Book not found",
  "described_by": "http://api.nfon.net/probs/phone-book-not-found"
}