API Docs / Operations / My Practices / Update Practice HMRC Credentials

Update Practice HMRC Credentials

PUT /me/practices/{practice}/hmrc-credentials/{credentials}

Replaces the credentials; a null password keeps the stored one. isDefault moves the practice's default to them; false leaves the default where it is. 409 for a practice managed in Sodium.

Parameters

NameTypeDescription
credentials* path string (uuid)
practice* path string (uuid)
{
  "name": "string",
  "senderType": "ActingInCapacity",
  "senderId": "string",
  "testInLive": false,
  "useTestGateway": false,
  "isDefault": false
}

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