Test Source/Client Authentication
POST
/api/components/{id}/auth
const url = 'https://example.com/api/components/example/auth';const options = {method: 'POST', headers: {cookie: 'ms.session_token=<ms.session_token>'}};
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/components/example/auth \ --cookie ms.session_token=<ms.session_token>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Success