serviceProfiles

Add a service to a service profile

<Info icon="fa-light fa-lock" className="permission-callout"> <div className="permission-callout__header"><span className="permission-callout__title"><span className="permission-callout__label">Required permissions</span> <span className="fern-docs-badge small blue subtle rounded-full permission-callout__beta">Beta</span></span> <span className="permission-callout__learn-more">[Learn more](/developers/api-guidelines/permissions#how-permissions-work)</span></div>

ServiceProfile.Service + Add

<div className="permission-callout__roles"><span className="permission-callout__roles-label">Roles:</span> <Badge intent="info">Administrator</Badge> <Badge intent="info">User</Badge></div> </Info>

Add service to the collection of services associated to a profile. Multiple services can be assigned, but each only once.

<Warning> Adding the voice service with an id of `3` to a service profile will be successful, but this feature **isn't enabled** by the platform. </Warning>
put/api/v1/service_profile/{profile_id}/service/{service_id}

Request

  • Base URL: https://cdn.emnify.net
  • URL: https://cdn.emnify.net/api/v1/service_profile/{profile_id}/service/{service_id}
  • Auth: HTTP bearer

Path parameters

profile_idnumber double required

The Numeric ID of a Service Profile

service_id'0' | '3' | '6' | '32' | '38' required

The numeric ID corresponding to one of the following services:

  • 0 - USSD
  • 3 - Voice
  • 6 - SMS MT
  • 32 - SMS MO
  • 38 - Data
<Error> USSD and Voice services aren't available. </Error>

Response

The server has successfully fulfilled the request and that there is no additional content to send in the response payload body

object required

Changes

No recorded changes to this operation across all 1 revision of this API.