Users

Enable a User

If a user has been disabled this endpoints will enable them

The invoker must have the appropriate permission

A user cannot enable themself

If the user is a payor user and the payor is disabled this operation is not allowed

If enabling a payor user would breach the limit for master admin payor users the request will be rejected

post/v2/users/{userId}/enable

Path parameters

userIdstring uuid required

The UUID of the User.

Response

Success the user was enabled or was already enabled

Changes

Changed in 5 of the 50 revisions of this API.13425

  • dd71433847a6424See the full diff
    • the errors/items/ response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the errors/items/ response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the errors/items/ response's property type/format changed from / to object/ for status 403

      response-property-type-changed

    • the errors/items/ response's property type/format changed from / to object/ for status 404

      response-property-type-changed

    • added the optional property errors/items/errorCode to the response with the 400 status

      response-optional-property-added

    • added the optional property errors/items/errorCode to the response with the 401 status

      response-optional-property-added

    • added the optional property errors/items/errorCode to the response with the 403 status

      response-optional-property-added

    • added the optional property errors/items/errorCode to the response with the 404 status

      response-optional-property-added

    • added the optional property errors/items/errorData to the response with the 400 status

      response-optional-property-added

    • added the optional property errors/items/errorData to the response with the 401 status

      response-optional-property-added

    • added the optional property errors/items/errorData to the response with the 403 status

      response-optional-property-added

    • added the optional property errors/items/errorData to the response with the 404 status

      response-optional-property-added

    • added the optional property errors/items/localisationDetails to the response with the 400 status

      response-optional-property-added

    • added the optional property errors/items/localisationDetails to the response with the 401 status

      response-optional-property-added

    • added the optional property errors/items/localisationDetails to the response with the 403 status

      response-optional-property-added

    • added the optional property errors/items/localisationDetails to the response with the 404 status

      response-optional-property-added

    • added the optional property httpStatusCode to the response with the 400 status

      response-optional-property-added

    • added the optional property httpStatusCode to the response with the 401 status

      response-optional-property-added

    • added the optional property httpStatusCode to the response with the 403 status

      response-optional-property-added

    • added the optional property httpStatusCode to the response with the 404 status

      response-optional-property-added

    • response property errors/items/locationType deprecated

      response-property-deprecated

    • response property errors/items/locationType deprecated

      response-property-deprecated

    • response property errors/items/locationType deprecated

      response-property-deprecated

    • response property errors/items/locationType deprecated

      response-property-deprecated

    • response property errors/items/reasonCode deprecated

      response-property-deprecated

    • response property errors/items/reasonCode deprecated

      response-property-deprecated

    • response property errors/items/reasonCode deprecated

      response-property-deprecated

    • response property errors/items/reasonCode deprecated

      response-property-deprecated

    This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type/format changed from object/ to / for status 404

      response-body-type-changed

    • the errors/items/ response's property type/format changed from object/ to / for status 404

      response-property-type-changed

    This revision also has 26 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1b2abf26b5d664See the full diff
    • the response's body type/format changed from object/ to / for status 400

      response-body-type-changed

    • the response's body type/format changed from object/ to / for status 401

      response-body-type-changed

    • the response's body type/format changed from object/ to / for status 403

      response-body-type-changed

    • the errors/items/ response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the errors/items/ response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the errors/items/ response's property type/format changed from object/ to / for status 403

      response-property-type-changed

    • added the new requestParam enum value to the errors/items/locationType response property for the response status 400

      response-property-enum-value-added

    • added the new requestParam enum value to the errors/items/locationType response property for the response status 401

      response-property-enum-value-added

    • added the new requestParam enum value to the errors/items/locationType response property for the response status 403

      response-property-enum-value-added

    • added the new requestParam enum value to the errors/items/locationType response property for the response status 404

      response-property-enum-value-added

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 257 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog