Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server.
POST
/xrpc/com.atproto.identity.refreshIdentity
const url = 'https://example.com/xrpc/com.atproto.identity.refreshIdentity';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"identifier":"example"}'};
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/xrpc/com.atproto.identity.refreshIdentity \ --header 'Content-Type: application/json' \ --data '{ "identifier": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
identifier
required
string format: at-identifier
Example generated
{ "identifier": "example"}Responses
Section titled “Responses”Success
Media typeapplication/json
object
did
required
string format: did
didDoc
required
The complete DID document for the identity.
handle
required
The validated handle of the account; or ‘handle.invalid’ if the handle did not bi-directionally match the DID document.
string format: handle
Example generated
{ "did": "example", "didDoc": "example", "handle": "example"}Bad Request
