StartEntraConsent
POST
/api/v1/t/{tenant}/identity/sso/entra/consents
const url = 'https://example.com/api/v1/t/example/identity/sso/entra/consents';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"kind":"Direct"}'};
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/t/example/identity/sso/entra/consents \ --header 'Content-Type: application/json' \ --data '{ "kind": "Direct" }'Parameters
Abschnitt betitelt „ Parameters “Path Parameters
Abschnitt betitelt „Path Parameters“tenant
required
string
Tenant slug
Request Bodyrequired
Abschnitt betitelt „Request Bodyrequired“Media typeapplication/json
object
kind
required
Responses
Abschnitt betitelt „ Responses “OK
Media typeapplication/json
object
consentId
required
string format: uuid
consentUrl
required
string format: uri
kind
required
expiresAt
required
string format: date-time
Example
{ "kind": "Direct"}Bad Request
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Forbidden
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Conflict
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Too Many Requests
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}