Offer every current credential again
const url = 'https://example.com/api/v1/credentials/reoffer';const options = { method: 'POST', headers: {cookie: 'bl_authority_session=<bl_authority_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/credentials/reoffer \ --cookie bl_authority_session=<bl_authority_session>Offers each active participant a successor of its current credentials now, for example after a change of the issuer key, instead of waiting for two thirds of their lifetime.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK.
object
How many credentials were offered again.
The offers that failed: did, type, error.
object
Example generated
{ "offered": 1, "failed": [ {} ]}No valid session, DPoP-bound token or API key.
The body of every failed call to a management API.
object
object
Stable, machine-readable: invalid_request, unauthenticated,
forbidden, not_found, conflict, upstream_unavailable,
unavailable, internal, or a more specific code of the operation.
For people; may change between versions.
Example
{ "error": { "code": "not_found", "message": "unknown negotiation" }}The caller lacks the role this operation needs; or a change with the session cookie came from a page of another site (cross_site_request, decisions #83).
The body of every failed call to a management API.
object
object
Stable, machine-readable: invalid_request, unauthenticated,
forbidden, not_found, conflict, upstream_unavailable,
unavailable, internal, or a more specific code of the operation.
For people; may change between versions.
Example
{ "error": { "code": "not_found", "message": "unknown negotiation" }}