Creates an invitation to allow a new team member to join an existing service.
Request body
Example request
{
"email": "example@example.gov.uk",
"role_name": "view-only",
"sender": "d0wksn12nklsdf1nd02nd9n2ndk",
"service_external_id": "dj2jkejke32jfhh3"
}Response
Created
Example response
{
"_links": [
{
"href": "https://an.example.link",
"method": "GET",
"rel": "self"
}
],
"email": "example@example.gov.uk",
"is_invite_to_join_service": true,
"otp_key": "ABC123",
"role": "view-only",
"telephone_number": "+440787654534"
}Changes
Changed in 10 of the 53 revisions of this API.8214
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ▲
- ○
the
request property's minLength was decreased from1to0request-property-min-length-decreased
- ○
the
request property's minLength was decreased from1to0request-property-min-length-decreased
- ○
the
request property's minLength was decreased from1to0request-property-min-length-decreased
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ▲
the
request property format changed from no format toemailrequest-property-type-changed
- ▲
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ▲
- ▲
request property
was restricted to a list of enum valuesrequest-property-became-enum
- ○
added the new
adminenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
super-adminenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
view-and-initiate-motoenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
view-and-refundenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
view-onlyenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
view-refund-and-initiate-motoenum value to the request propertyrequest-property-enum-value-added
- ▲
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ●
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○