---
title: "POST /subscriptions/{subscriptionId}/providers/Napster.CompanionAPI/activateSaaS"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Napster.CompanionAPI/activateSaaS"
---

# POST /subscriptions/{subscriptionId}/providers/Napster.CompanionAPI/activateSaaS

`POST /subscriptions/{subscriptionId}/providers/Napster.CompanionAPI/activateSaaS`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/providers/Napster.CompanionAPI/activateSaaS`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Resolve the token to get the SaaS resource ID and activate the SaaS resource

## Parameters

- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` (unresolved $ref)

## Request body

- ActivateSaaSParameterRequest: SaaS guid & PublishedId for Activate and Validate SaaS Resource
  - `saasGuid` string, required: SaaS guid for Activate and Validate SaaS Resource
  - `publisherId` string: Publisher Id for Napster resource

## Response `200`

The request has succeeded.

- SaaSResourceDetailsResponse (unresolved $ref)

## Other responses

- `202`: Resource operation accepted.
- `default`: An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/napster-companionapi-management-service.md) - [All operations](https://skmtc.dev/azure/apis/napster-companionapi-management-service/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/napster-companionapi-management-service/revisions/452fc60e3d11?raw)
