Skip to content

SDK 인증 키 생성

post

/app_group/sdk_authentication/create

이 엔드포인트를 사용하여 앱에 대한 새 SDK 인증 키를 생성하세요.

Prerequisites

이 엔드포인트를 사용하려면 sdk_authentication.create 권한이 있는 API 키가 필요합니다.

사용량 제한

API 속도 제한에 설명된 대로 이 엔드포인트에 시간당 250,000건의 기본 Braze 속도 제한을 적용합니다.

요청 본문

1
2
Content-Type: application/json
Authorization: Bearer YOUR-REST-API-KEY
1
2
3
4
5
6
{
  "app_id": "App API identifier",
  "rsa_public_key_str": "RSA public key string", 
  "description": "description", 
  "make_primary": false
}

요청 매개변수

예시 요청

1
2
3
4
5
6
7
8
9
curl --location --request POST 'https://rest.iad-01.braze.com/app_group/sdk_authentication/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR-REST-API-KEY' \
--data-raw '{
  "app_id": "01234567-89ab-cdef-0123-456789abcdef",
  "rsa_public_key_str": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvvD+fgA0YuCUd/v35htn...\n-----END PUBLIC KEY-----", 
  "description": "SDK Authentication Key for iOS App", 
  "make_primary": false
}'

응답

1
2
3
{
  "id": "key id"
}

응답 매개변수

유효성 검사 규칙

이 엔드포인트에는 다음과 같은 유효성 검사 규칙이 있습니다:

  • 앱당 최대 3개의 SDK 인증 키를 보유할 수 있습니다.
  • RSA 공개 키 문자열은 올바른 형식의 유효한 RSA 공개 키여야 합니다.
  • app_id 은 유효한 앱 API 식별자이어야 합니다.
  • 설명은 비워 둘 수 없습니다.
이 페이지가 얼마나 도움이 되었나요?
New Stuff!