Change a license
PATCH
/resource-providers/{providerId}/licenses/{licenseId}
A change to the holder, kind, number or state needs checking again (pending), which holds the live help relying on it (hold license) until staff verify it. Checks: requireProviderAccess('manage_licenses').
Authorizations
BearerAuth
In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.
Type
HTTP (bearer)
Parameters
Path Parameters
providerId*
The provider (resource_providers.id).
Type
Requiredstring
Format
"uuid"licenseId*
The license.
Type
Requiredstring
Format
"uuid"Request Body
application/json
JSON
{
"holder_name": "string",
"kind": "string",
"license_number": "string",
"state": "string"
}
Responses
OK
application/json
JSON
"string"