Skip to content

Commit

Permalink
SALTO-5153: Support deploy of SmsTemplate (#5198)
Browse files Browse the repository at this point in the history
  • Loading branch information
shir-reifenberg authored Dec 17, 2023
1 parent e8656c7 commit 0049492
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/okta-adapter/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,26 @@ const DEFAULT_TYPE_CUSTOMIZATIONS: OktaSwaggerApiConfig['types'] = {
serviceIdField: 'id',
fieldsToHide: [{ fieldName: 'id' }],
},
deployRequests: {
add: {
url: '/api/v1/templates/sms',
method: 'post',
},
modify: {
url: '/api/v1/templates/sms/{templateId}',
method: 'put',
urlParamsToFields: {
templateId: 'id',
},
},
remove: {
url: '/api/v1/templates/sms/{templateId}',
urlParamsToFields: {
templateId: 'id',
},
method: 'delete',
},
},
},
Protocol: {
transformation: {
Expand Down

0 comments on commit 0049492

Please sign in to comment.