# Change Custom Consent Status by Id

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /customconsent/{customConsentId}/change:
    post:
      summary: Change Custom Consent Status by Id
      deprecated: false
      description: >-
        ### Description :

        Custom Consent is voluntary permission given by a customer to a sender
        to receive commercial SMS/MMS related to a specific product, service, or
        purpose. This API helps change Custom Consent Active status by Id.
         
        ### URL : 

        https://connect.beetexting.com/prod/customconsent/6890b1408f412234d99c8e13/change

        (While sending the request please make sure to append
        https://connect.beetexting.com/prod  if the url in the cUrl command
        starts with /message ...)


        **Note : To add the OAuth2.0 Auth Token please see the section 'OAuth2.0
        For Beetexting' and 'Postman How-to for Beetexting section'
      tags:
        - APIs/Consent
      parameters:
        - name: customConsentId
          in: path
          description: ''
          required: true
          schema:
            type: string
        - name: status
          in: query
          description: ''
          required: true
          example: 'true'
          schema:
            type: string
        - name: x-api-key
          in: header
          description: ''
          required: true
          example: HvG7OZaxgz3raDMzX9CYp9105hV9VwDa6zrCS234
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
              example:
                title: string
                description: string
                restrictionType: Valid values [ DISALLOW, SHOW_WARNING, NOSHOW ]
                active: true
                id: string
          headers: {}
          x-apidog-name: Success
      security:
        - oauth21: []
      x-apidog-folder: APIs/Consent
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1058487/apis/api-21020121-run
components:
  schemas: {}
  securitySchemes:
    oauth21:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: ''
          tokenUrl: ''
          refreshUrl: ''
          scopes: {}
          x-apidog:
            addTokenTo: header
            useTokenType: access_token
            queryParamKey: access_token
            headerPrefix: Bearer
            codeVerifier: ''
            challengeAlgorithm: S256
            authRequestParams: []
            tokenRequestParams: []
servers: []
security: []

```
