API Docs / Operations / My Practices / Create My Practice

Create My Practice

POST /me/practices

Creates a practice, managed here, with the caller its first member, and puts the named organisations in it: each one the caller owns (400 otherwise) and in no practice (409 otherwise), checked before anything is created. Their members stay as they are; a contractor organisation with no HMRC credentials of its own files with the practice's default set.

Request Body*

{
  "name": "string",
  "organisations": [
    "string"
  ]
}

Responses

400 Bad Request
application/problem+json
401 Unauthorized – Invalid or missing API key
404 Not Found
application/problem+json
409 Conflict
application/problem+json