Türkçe dil desteğimiz henüz tamamlandı. Eksik sayfalar veya bölümlerle karşılaşmanız durumunda İngilizce dilini seçerek sayfanın orjinalini görebilirsiniz.

Update MFA

Scopes
write:mfa

Path Parameters

type
string
REQUIRED

Mfa Type

Request Body

enabled
boolean
is_default
boolean
provider
string
REQUIRED

Available Values:

type
string
REQUIRED

Available Values:

settings
object
settings.
enabled_clients
array<string>
settings.
strategy
string

Push notification strategy

Available Values:codeprompt

Default value:"code"

settings.
apns
object

Apple Push Notification Service configuration settings.

settings.apns.
bundle_id
string

This is the ID of your app. You can find it in the app info section of your Apple developer account.

settings.apns.
key
string

p8 of your Apple Developer account. To generate one follow these steps:

  • Head over to Certificates, Identifiers & Profiles > Keys.
  • Register a new key and give it a name.
  • Enable the Apple Push Notifications service (APNs) checkbox by selecting it.
  • Click the Continue button and on the next page, select Register.
  • Download the .p8 key file.
settings.apns.
key_id
string

This is a 10-character unique identifier for the authentication key. You can find it in the key details section of the newly created key in your Apple developer account.

settings.apns.
production
boolean
settings.apns.
team_id
string

This is available in your Apple developer account.

settings.
fcm
object

Firebase Cloud Messaging configuration settings. To enable the FCM integration, you need to get your service account key from the Firebase Console.

  • Select your project, and click the gear icon on the top of the sidebar.
  • After opening "Project Settings", head to the "Service Accounts" tab.
  • Click "Generate new private key", then confirm by clicking "Generate key".
  • Clicking "Generate key" downloads the generated service account json file.
settings.fcm.
client_email
string

client_email field located in your service account json

settings.fcm.
private_key
string

private_key field located in your service account json

settings.fcm.
project_id
string

project_id field located in your service account json

PATCH
/mfa/{type}
1
2
3
4
5
Loading...
Response:
201
Loading...

Response Body Schema

enabled
boolean
REQUIRED
is_custom
boolean

Is connection using custom scripts

provider
string
REQUIRED

Value: native

type
string
REQUIRED

Value: push

settings
object
REQUIRED
settings.
enabled_clients
array<string>
REQUIRED
settings.
strategy
string

Push notification strategy

Available Values:codeprompt

Default value:"code"

settings.
apns
object

Apple Push Notification Service configuration settings.

settings.apns.
bundle_id
string
REQUIRED

This is the ID of your app. You can find it in the app info section of your Apple developer account.

settings.apns.
key
string
REQUIRED

p8 of your Apple Developer account. To generate one follow these steps:

  • Head over to Certificates, Identifiers & Profiles > Keys.
  • Register a new key and give it a name.
  • Enable the Apple Push Notifications service (APNs) checkbox by selecting it.
  • Click the Continue button and on the next page, select Register.
  • Download the .p8 key file.
settings.apns.
key_id
string
REQUIRED

This is a 10-character unique identifier for the authentication key. You can find it in the key details section of the newly created key in your Apple developer account.

settings.apns.
production
boolean
REQUIRED
settings.apns.
team_id
string
REQUIRED

This is available in your Apple developer account.

settings.
fcm
object

Firebase Cloud Messaging configuration settings. To enable the FCM integration, you need to get your service account key from the Firebase Console.

  • Select your project, and click the gear icon on the top of the sidebar.
  • After opening "Project Settings", head to the "Service Accounts" tab.
  • Click "Generate new private key", then confirm by clicking "Generate key".
  • Clicking "Generate key" downloads the generated service account json file.
settings.fcm.
client_email
string
REQUIRED

client_email field located in your service account json

settings.fcm.
private_key
string
REQUIRED

private_key field located in your service account json

settings.fcm.
project_id
string
REQUIRED

project_id field located in your service account json