Invites
Creates an invitation to allow a new team member to join an existing service.
Changed onpost/v1/api/invites/create-invite-to-join-service
Request
- The document declares no server URL.
- Authnone declared
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
- breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1
- breaking
- info
the
request property's minLength was decreased from1to0 - info
the
request property's minLength was decreased from1to0 - info
the
request property's minLength was decreased from1to0
- info